aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2019-12-31 16:42:46 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2019-12-31 16:42:46 -0500
commit1cc79313212eec8a9c67528175a4e801a39e3015 (patch)
tree7e46b8ade47398b2c0628734e8d9fbf49d1d3809
parent9c1123226bf470b944edfebe5320f9f1f7818a8b (diff)
downloadtextadept-1cc79313212eec8a9c67528175a4e801a39e3015.tar.gz
textadept-1cc79313212eec8a9c67528175a4e801a39e3015.zip
Updated to Scintilla 3.11.2.
-rw-r--r--core/.buffer.luadoc16
-rw-r--r--modules/lua/ta_api4
-rw-r--r--modules/lua/ta_tags4
-rw-r--r--src/Makefile2
4 files changed, 25 insertions, 1 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc
index f5e6c54e..415c41ce 100644
--- a/core/.buffer.luadoc
+++ b/core/.buffer.luadoc
@@ -743,6 +743,12 @@
-- @field selection_n_start (table)
-- Table of positions at the beginning of existing selections numbered from
-- zero, the main selection.
+-- @field selection_n_end_virtual_space (number, Read-only)
+-- Table of positions at the end of virtual space selected in existing
+-- selections numbered from zero, the main selection.
+-- @field selection_n_start_virtual_space (number, Read-only)
+-- Table of positions at the beginning of virtual space selected in existing
+-- selections numbered from zero, the main selection.
-- @field selection_start (number)
-- The position of the beginning of the selected text.
-- When set, becomes the anchor, but is not scrolled into view.
@@ -823,9 +829,19 @@
-- @field target_end (number)
-- The position of the end of the target range.
-- This is also set by a successful [`buffer.search_in_target()`]().
+-- @field target_end_virtual_space (number)
+-- The position of the end of virtual space in the target range.
+-- This is set to `0` when [`buffer.target_start`]() or
+-- [`buffer.target_end`]() is set, or when [`buffer.set_target_range()`]() is
+-- called.
-- @field target_start (number)
-- The position of the beginning of the target range.
-- This is also set by a successful [`buffer.search_in_target()`]().
+-- @field target_start_virtual_space (number)
+-- The position of the beginning of virtual space in the target range.
+-- This is set to `0` when [`buffer.target_start`]() or
+-- [`buffer.target_end`]() is set, or when [`buffer.set_target_range()`]() is
+-- called.
-- @field target_text (string, Read-only)
-- The text in the target range.
-- @field text_length (number, Read-only)
diff --git a/modules/lua/ta_api b/modules/lua/ta_api
index 5c81618a..25349fe9 100644
--- a/modules/lua/ta_api
+++ b/modules/lua/ta_api
@@ -861,7 +861,9 @@ selection_n_anchor_virtual_space buffer.selection_n_anchor_virtual_space (table)
selection_n_caret buffer.selection_n_caret (table)\nTable of positions at the end of existing selections numbered from zero,\nthe main selection.
selection_n_caret_virtual_space buffer.selection_n_caret_virtual_space (table)\nTable of positions at the end of virtual space selected in existing\nselections numbered from zero, the main selection.
selection_n_end buffer.selection_n_end (table)\nTable of positions at the end of existing selections numbered from zero,\nthe main selection.
+selection_n_end_virtual_space buffer.selection_n_end_virtual_space (number, Read-only)\nTable of positions at the end of virtual space selected in existing\nselections numbered from zero, the main selection.
selection_n_start buffer.selection_n_start (table)\nTable of positions at the beginning of existing selections numbered from\nzero, the main selection.
+selection_n_start_virtual_space buffer.selection_n_start_virtual_space (number, Read-only)\nTable of positions at the beginning of virtual space selected in existing\nselections numbered from zero, the main selection.
selection_start buffer.selection_start (number)\nThe position of the beginning of the selected text.\nWhen set, becomes the anchor, but is not scrolled into view.
selections buffer.selections (number, Read-only)\nThe number of active selections. There is always at least one selection.
session textadept.session (module)\nSession support for Textadept.
@@ -941,8 +943,10 @@ tags _M.lua.tags (table)\nList of "fake" ctags files (or functions that return s
tags _M.python.tags (table)\nList of ctags files to use for autocompletion.
tags _M.ruby.tags (table)\nList of "fake" ctags files to use for autocompletion.\nIn addition to the normal ctags kinds for Ruby, the kind 'C' is recognized as\na constant and 'a' as an attribute.
target_end buffer.target_end (number)\nThe position of the end of the target range.\nThis is also set by a successful `buffer.search_in_target()`.
+target_end_virtual_space buffer.target_end_virtual_space (number)\nThe position of the end of virtual space in the target range.\nThis is set to `0` when `buffer.target_start` or\n`buffer.target_end` is set, or when `buffer.set_target_range()` is\ncalled.
target_from_selection buffer.target_from_selection(buffer)\nDefines the target range's beginning and end positions as the beginning and\nend positions of the main selection, respectively.\n@param buffer A buffer.
target_start buffer.target_start (number)\nThe position of the beginning of the target range.\nThis is also set by a successful `buffer.search_in_target()`.
+target_start_virtual_space buffer.target_start_virtual_space (number)\nThe position of the beginning of virtual space in the target range.\nThis is set to `0` when `buffer.target_start` or\n`buffer.target_end` is set, or when `buffer.set_target_range()` is\ncalled.
target_text buffer.target_text (string, Read-only)\nThe text in the target range.
target_whole_document buffer.target_whole_document(buffer)\nDefines the target range's beginning and end positions as the beginning and\nend positions of the document, respectively.\n@param buffer A buffer.
text_height buffer.text_height(buffer, line)\nReturns the pixel height of line number *line*.\n@param buffer A buffer.\n@param line The line number in *buffer* to get the pixel height of.\n@return number
diff --git a/modules/lua/ta_tags b/modules/lua/ta_tags
index 1451c959..f0be9cd2 100644
--- a/modules/lua/ta_tags
+++ b/modules/lua/ta_tags
@@ -869,7 +869,9 @@ selection_n_anchor_virtual_space _ 0;" F class:buffer
selection_n_caret _ 0;" F class:buffer
selection_n_caret_virtual_space _ 0;" F class:buffer
selection_n_end _ 0;" F class:buffer
+selection_n_end_virtual_space _ 0;" F class:buffer
selection_n_start _ 0;" F class:buffer
+selection_n_start_virtual_space _ 0;" F class:buffer
selection_start _ 0;" F class:buffer
selections _ 0;" F class:buffer
session _ 0;" m class:textadept
@@ -949,8 +951,10 @@ tags _ 0;" t class:_M.lua
tags _ 0;" t class:_M.python
tags _ 0;" t class:_M.ruby
target_end _ 0;" F class:buffer
+target_end_virtual_space _ 0;" F class:buffer
target_from_selection _ 0;" f class:buffer
target_start _ 0;" F class:buffer
+target_start_virtual_space _ 0;" F class:buffer
target_text _ 0;" F class:buffer
target_whole_document _ 0;" f class:buffer
text_height _ 0;" f class:buffer
diff --git a/src/Makefile b/src/Makefile
index c7f1825f..b9816c56 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -366,7 +366,7 @@ else
gtdialog_url = http://foicica.com/hg/gtdialog/archive/tip.zip
endif
-scintilla_zip = d14e1b1086de.zip
+scintilla_zip = 99fa62b828ee.zip
lua_tgz = lua-5.3.5.tar.gz
lpeg_tgz = lpeg-1.0.2.tar.gz
lfs_zip = v1_7_0_2.zip