aboutsummaryrefslogtreecommitdiff
path: root/core/.buffer.luadoc
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-03-29 21:09:49 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-03-29 21:09:49 -0400
commite8963097d0028d46a172c4ea571c8c5aa97bd1e6 (patch)
treed605729ba63fe6acbb0f7e0318d5b8242fbf6638 /core/.buffer.luadoc
parent56749e0214ba6de08cfe56a41a11cb2ce7645bdf (diff)
downloadtextadept-e8963097d0028d46a172c4ea571c8c5aa97bd1e6.tar.gz
textadept-e8963097d0028d46a172c4ea571c8c5aa97bd1e6.zip
Updated to Scintilla 3.3.0.
Diffstat (limited to 'core/.buffer.luadoc')
-rw-r--r--core/.buffer.luadoc15
1 files changed, 13 insertions, 2 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc
index fc35c257..f56cbc31 100644
--- a/core/.buffer.luadoc
+++ b/core/.buffer.luadoc
@@ -2213,12 +2213,23 @@ function rotate_selection(buffer) end
function scroll_caret(buffer) end
---
--- Scroll to the end of the buffer without moving the caret.
+-- Scrolls the range between *primary_pos* and *secondary_pos* into view, with
+-- priority given to *primary_pos*.
+-- Similar to `buffer:scroll_caret()`, but with *primary_pos* instead of
+-- `buffer.current_pos`.
+-- This is useful for scrolling search results into view.
+-- @param buffer The global buffer.
+-- @param secondary_pos The secondary range position to scroll into view.
+-- @param primary_pos The primary range position to scroll into view.
+function scroll_range(buffer, secondary_pos, primary_pos) end
+
+---
+-- Scrolls to the end of the buffer without moving the caret.
-- @param buffer The global buffer.
function scroll_to_end(buffer) end
---
--- Scroll to the beginning of the buffer without moving the caret.
+-- Scrolls to the beginning of the buffer without moving the caret.
-- @param buffer The global buffer.
function scroll_to_start(buffer) end