diff options
author | 2013-11-11 10:00:08 -0500 | |
---|---|---|
committer | 2013-11-11 10:00:08 -0500 | |
commit | 432cd5c0fa2c2d8751d8ee7489e39fe625afd748 (patch) | |
tree | 2848835a405786c7293635e6867249930b1cf826 /core | |
parent | 2670ba1b74225fdf1d9447ca773af8dab8dcb6e8 (diff) | |
download | textadept-432cd5c0fa2c2d8751d8ee7489e39fe625afd748.tar.gz textadept-432cd5c0fa2c2d8751d8ee7489e39fe625afd748.zip |
Updated documentation.
Diffstat (limited to 'core')
-rw-r--r-- | core/.buffer.luadoc | 14 | ||||
-rw-r--r-- | core/file_io.lua | 2 |
2 files changed, 9 insertions, 7 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc index 69d63338..9e55a48e 100644 --- a/core/.buffer.luadoc +++ b/core/.buffer.luadoc @@ -1544,7 +1544,7 @@ function home_extend(buffer) end function home_rect_extend(buffer) end --- --- Moves the caret to beginning of the current wrapped line, or if already +-- Moves the caret to beginning of the current wrapped line or, if already -- there, to the beginning of the actual line. -- @param buffer The buffer. function home_wrap(buffer) end @@ -1675,7 +1675,7 @@ function line_end_extend(buffer) end function line_end_rect_extend(buffer) end --- --- Moves the caret to the end of the current wrapped line, or if already there, +-- Moves the caret to the end of the current wrapped line or, if already there, -- to the end of the actual line. -- @param buffer The buffer. function line_end_wrap(buffer) end @@ -1751,8 +1751,8 @@ function line_up_rect_extend(buffer) end function lines_join(buffer) end --- --- Splits the lines in the target range into lines at most *width* pixels wide, --- or if *width* is `0`, lines as wide as the view. +-- Splits the lines in the target range into lines at most *width* pixels wide +-- or, if *width* is `0`, lines as wide as the view. -- @param buffer The buffer. -- @param width The pixel width to split lines at. When `0`, uses the width of -- the view. @@ -2341,7 +2341,7 @@ function show_lines(buffer, start_line, end_line) end function start_styling(buffer, position, style_mask) end --- --- Moves the caret to the bottom of the page, or if already there, down one +-- Moves the caret to the bottom of the page or, if already there, down one -- page. -- @param buffer The buffer. function stuttered_page_down(buffer) end @@ -2353,7 +2353,7 @@ function stuttered_page_down(buffer) end function stuttered_page_down_extend(buffer) end --- --- Moves the caret to the top of the page, or if already there, up one page. +-- Moves the caret to the top of the page or, if already there, up one page. -- @param buffer The buffer. function stuttered_page_up(buffer) end @@ -2446,7 +2446,7 @@ function upper_case(buffer) end function user_list_show(buffer, list_type, item_list) end --- --- Moves the caret to the first visible character on the current line, or if +-- Moves the caret to the first visible character on the current line or, if -- already there, to the beginning of the current line. -- @param buffer The buffer. function vc_home(buffer) end diff --git a/core/file_io.lua b/core/file_io.lua index e2c2e1ed..8e824de2 100644 --- a/core/file_io.lua +++ b/core/file_io.lua @@ -29,6 +29,8 @@ -- * _`filename`_: The new filename. -- @field _G.events.FILE_CHANGED (string) -- Emitted when Textadept detects that a file was externally modified. +-- When connecting to this event, connect with an index of 1 to override the +-- default prompt to reload the file. -- Arguments: -- -- * _`filename`_: The filename externally modified. |