diff options
author | 2013-10-09 00:23:46 -0400 | |
---|---|---|
committer | 2013-10-09 00:23:46 -0400 | |
commit | 098be412f70bb6722c6751b70f939f08f70e196d (patch) | |
tree | 15e8a7961b38d85cb3c1966ad929b21fbf7cccfd /modules/textadept/editing.lua | |
parent | c9094906de1a7a306c8fdc27a2dc13c65ac40cf8 (diff) | |
download | textadept-098be412f70bb6722c6751b70f939f08f70e196d.tar.gz textadept-098be412f70bb6722c6751b70f939f08f70e196d.zip |
More LuaDoc updates.
Diffstat (limited to 'modules/textadept/editing.lua')
-rw-r--r-- | modules/textadept/editing.lua | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua index 877354a9..bb096b89 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -418,12 +418,9 @@ function M.select_paragraph() end --- --- Selects indented text blocks intelligently. --- If no block of text is selected, all text with the current level of --- indentation is selected. If a block of text is selected and the lines --- immediately above and below it are one indentation level lower, they are --- added to the selection. In all other cases, the behavior is the same as if no --- text is selected. +-- Selects all text with the current level of indentation. +-- If a text block is selected and the lines immediately above and below it are +-- one indentation level lower, adds those lines to the selection. -- @name select_indented_block function M.select_indented_block() local buffer = buffer @@ -505,15 +502,15 @@ function M.highlight_word() end --- --- Passes selected or all buffer text to string shell command *command* as --- standard input (stdin) and replaces the input text with the command's +-- Passes the selected text or all buffer text to string shell command *command* +-- as standard input (stdin) and replaces the input text with the command's -- standard output (stdout). -- Standard input is as follows: -- -- 1. If text is selected and spans multiple lines, all text on the lines --- containing the selection is used. However, if the end of the selection is at --- the beginning of a line, only the EOL (end of line) characters from the --- previous line are included as input. The rest of the line is excluded. +-- containing the selection is passed as stdin. However, if the end of the +-- selection is at the beginning of a line, only the line ending characters from +-- the previous line are included. The rest of the line is excluded. -- 2. If text is selected and spans a single line, only the selected text is -- used. -- 3. If no text is selected, the entire buffer is used. |