From e8963097d0028d46a172c4ea571c8c5aa97bd1e6 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 29 Mar 2013 21:09:49 -0400 Subject: Updated to Scintilla 3.3.0. --- core/.buffer.luadoc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'core/.buffer.luadoc') 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 -- cgit v1.2.3