From 32da7ac1a36d2285daa3a0ee280f1730415f04cf Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 28 Jul 2011 22:27:46 -0400 Subject: Updated to Scintilla 2.28. --- core/.buffer.luadoc | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'core/.buffer.luadoc') diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc index 772651bb..01219b6e 100644 --- a/core/.buffer.luadoc +++ b/core/.buffer.luadoc @@ -264,6 +264,14 @@ module('buffer') -- * `_SCINTILLA.constants.INDIC_SQUIGGLELOW` (11): Similar to -- `INDIC_SQUIGGLE` but only using 2 vertical pixels so will fit under -- small fonts. +-- * `_SCINTILLA.constants.INDIC_DOTBOX` (12): A dotted rectangle around +-- the text using translucent drawing. Translucency alternates between +-- the alpha and outline alpha settings with the top-left pixel using +-- the alpha setting. `buffer.indic_alpha` and +-- `buffer.indic_outline_alpha` control the alpha transparency values. +-- The default values are 30 for alpha and 50 for outline alpha. To +-- avoid excessive memory allocation the maximum width of a dotted box +-- is 4000 pixels. -- * `indic_under` [table]: Table of booleans for drawing under text or over -- (default) for indicators from zero to 31. -- * `indicator_current` [number]: The indicator in the range of 0 to 31 used @@ -408,6 +416,8 @@ module('buffer') -- * `_SCINTILLA.constants.SCMOD_ALT` (4): Alt key. -- * `_SCINTILLA.constants.SCMOD_SUPER` (8): Left Windows key on a Windows -- keyboard or the Command key on a Mac. +-- * `rgba_image_height` [number]: The height for future RGBA image data. +-- * `rgba_image_width` [number]: The width for future RGBA image data. -- * `scroll_width` [number]: The document width assumed for scrolling. For -- performance, the view does not measure the display width of the document to -- determine the properties of the horizontal scroll bar. Instead, an assumed @@ -1490,6 +1500,21 @@ function buffer.marker_define(buffer, marker_num, marker_symbol) end -- @param pixmap Null-terminated pixmap data. function buffer.marker_define_pixmap(buffer, marker_num, pixmap) end +--- +-- Define a marker from RGBA data. +-- It has the width and height from `buffer.rgba_image_width` and +-- `buffer.rgba_image_height`. +-- @param buffer The focused buffer. +-- @param marker_num A marker number in the range of 0 to 31. +-- @param pixels A sequence of 4 byte pixel values starting with the pixels for +-- the top line, with the leftmost pixel first, then continuing with the +-- pixels for subsequent lines. There is no gap between lines for alignment +-- reasons. Each pixel consists of, in order, a red byte, a green byte, a blue +-- byte and an alpha byte. The colour bytes are not premultiplied by the alpha +-- value. That is, a fully red pixel that is 25% opaque will be [FF, 00, 00, +-- 3F]. +function buffer.marker_define_rgba_image(buffer, marker_num, pixels) end + --- -- Delete a marker from a line. -- @param buffer The focused buffer. @@ -1755,6 +1780,16 @@ function buffer.redo(buffer) end -- @param xpm_data XPM data as is described for buffer:marker_define_pixmap(). function buffer.register_image(buffer, type, xpm_data) end +--- +-- Register an RGBA image for use in autocompletion lists. +-- It has the width and height from `buffer.rgba_image_width` and +-- `buffer.rgba_image_height`. +-- @param buffer The focused buffer. +-- @param type Integer type to register the image with. +-- @param pixels RGBA data as is described for +-- buffer:marker_define_rgba_image(). +function buffer.register_rgba_image(buffer, type, pixels) end + --- -- Replace the selected text with the argument text. -- The caret is positioned after the inserted text and the caret is scrolled @@ -1793,6 +1828,16 @@ function buffer.rotate_selection(buffer) end -- @param buffer The focused buffer. function buffer.scroll_caret(buffer) end +--- +-- Scroll to end of document. +-- @param buffer The focused buffer. +function buffer.scroll_to_end(buffer) end + +--- +-- Scroll to start of document. +-- @param buffer The focused buffer. +function buffer.scroll_to_start(buffer) end + --- -- Sets the current caret position to be the search anchor. -- Always call this before calling either of `buffer:search_next()` or -- cgit v1.2.3