diff options
author | 2020-12-19 11:27:08 -0500 | |
---|---|---|
committer | 2020-12-19 11:27:08 -0500 | |
commit | f107c48f8fbc4ef27b2bb1d4d01420229421b885 (patch) | |
tree | a6606edcdc5e25ad926b656d94d578014871b47f /modules/lua/ta_api | |
parent | dc659bcfb7adbd9e65631507c29976d2903a3950 (diff) | |
download | textadept-f107c48f8fbc4ef27b2bb1d4d01420229421b885.tar.gz textadept-f107c48f8fbc4ef27b2bb1d4d01420229421b885.zip |
Ensure a bare `ui.find.focus()` call resets incremental and in files options.
Diffstat (limited to 'modules/lua/ta_api')
-rw-r--r-- | modules/lua/ta_api | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lua/ta_api b/modules/lua/ta_api index 0c1a0918..31721d33 100644 --- a/modules/lua/ta_api +++ b/modules/lua/ta_api @@ -523,7 +523,7 @@ find_prev_button_text ui.find.find_prev_button_text (string, Write-only)\nThe te first_visible_line view.first_visible_line (number)\nThe line number of the line at the top of the view. float lexer.float (pattern)\nA pattern that matches a floating point number. focus ui.command_entry.focus()\nOpens the command entry. -focus ui.find.focus(options)\nDisplays and focuses the Find & Replace Pane.\n@param options Optional table of options to initially set. +focus ui.find.focus(options)\nDisplays and focuses the Find & Replace Pane.\n@param options Optional table of `ui.find` field options to initially set. fold lexer.fold(lexer, text, start_pos, start_line, start_level)\nDetermines fold points in a chunk of text *text* using lexer *lexer*,\nreturning a table of fold levels associated with line numbers.\n*text* starts at position *start_pos* on line number *start_line* with a\nbeginning fold level of *start_level* in the buffer.\n@param lexer The lexer to fold text with.\n@param text The text in the buffer to fold.\n@param start_pos The position in the buffer *text* starts at, counting from\n 1.\n@param start_line The line number *text* starts on, counting from 1.\n@param start_level The fold level *text* starts on.\n@return table of fold levels associated with line numbers. fold_all view.fold_all(view, action)\nContracts, expands, or toggles all fold points, depending on *action*.\nWhen toggling, the state of the first fold point determines whether to\nexpand or contract.\n@param view A view.\n@param action The fold action to perform. Valid values are:\n * `view.FOLDACTION_CONTRACT`\n * `view.FOLDACTION_EXPAND`\n * `view.FOLDACTION_TOGGLE` fold_by_indentation lexer.fold_by_indentation (boolean)\nWhether or not to fold based on indentation level if a lexer does not have\na folder.\nSome lexers automatically enable this option. It is disabled by default.\nThis is an alias for `lexer.property['fold.by.indentation'] = '1|0'`. |