aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/.buffer.luadoc
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2012-05-31 18:12:12 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2012-05-31 18:12:12 -0400
commit3a8ee9a639822aa7727afa14c285cbe5eb5ff2a4 (patch)
tree6d6da608eb95bd069929664d70531e21e292caba /core/.buffer.luadoc
parent84f183cca388d40bc45d20023677cd1e0abf1d79 (diff)
Updated to Scintilla 3.2.0.
Diffstat (limited to 'core/.buffer.luadoc')
-rw-r--r--core/.buffer.luadoc18
1 files changed, 18 insertions, 0 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc
index 95010641..16e2515b 100644
--- a/core/.buffer.luadoc
+++ b/core/.buffer.luadoc
@@ -267,6 +267,9 @@
-- * `_SCINTILLA.constants.SC_EFF_QUALITY_NON_ANTIALIASED` (1).
-- * `_SCINTILLA.constants.SC_EFF_QUALITY_ANTIALIASED` (2).
-- * `_SCINTILLA.constants.SC_EFF_QUALITY_LCD_OPTIMIZED` (3).
+-- @field gap_position (number, Read-only)
+-- A position which, to avoid performance costs, should not be within the
+-- range of a call to `buffer:get_range_pointer()`.
-- @field h_scroll_bar (bool)
-- Whether the horizontal scroll bar is visible.
-- Set to `false` to never see it and `true` to enable it again. The default
@@ -1239,6 +1242,12 @@ function buffer.delete_back(buffer) end
function buffer.delete_back_not_line(buffer) end
---
+-- Delete a range of text in the document.
+-- @param pos The start position of the range to delete.
+-- @param length The length of the range to delete.
+function buffer.delete_range(buffer, pos, length) end
+
+---
-- Find the document line of a display line taking hidden lines into account.
-- @param buffer The global buffer.
-- @return number
@@ -1387,6 +1396,15 @@ function buffer.get_property(buffer, key) end
function buffer.get_property_expanded(buffer, key) end
---
+-- Return a read-only pointer to a range of characters in the document.
+-- May move the gap so that the range is contiguous, but will only move up to
+-- range_length bytes.
+-- The gap is not moved unless it is within the requested range so this call can
+-- be faster than `SCI_GETCHARACTERPOINTER`. This can be used by application
+-- code that is able to act on blocks of text or ranges of lines.
+function buffer.get_range_pointer(buffer, position, range_length) end
+
+---
-- Retrieve the selected text.
-- Also returns the length of the text.
-- @param buffer The global buffer.