aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/find.lua
AgeCommit message (Collapse)Author
2018-05-22Fixed selection of find in files result if it's at the start of the line.mitchell
2018-05-18Only interpret \uXXXX in regex replacements and ignore \xYY.mitchell
\xYY may not yield UTF-8 characters.
2018-05-11Be more explicit with matching \uXXXX and \xYY replacement patterns.mitchell
2018-05-11Intepret \uXXXX and \xYY escapes in replacement text.mitchell
2018-05-07Fixed replace in selection infinite loop with empty matches.mitchell
2018-01-25Updated copyright year.mitchell
2017-07-02When searching in files, show more lines below a match.mitchell
2017-03-24Fixed some bugs in "Replace All"; modules/textadept/find.luamitchell
"Replace All" after an initial search would only "replace in selection" and "Replace All" with the selection at EOF would not work.
2016-12-31Updated copyright information.mitchell
2016-10-18Fixed bug in find/replace with consecutive matches; modules/textadept/find.luamitchell
2016-08-31Fixed infinite loop in "Replace All" with zero-length regex matches.mitchell
2016-07-22Fixed infinite loop with "Replace All" in selection; modules/textadept/find.luamitchell
This happens when the replacement text matches the find text and is longer in length.
2016-07-04Added timeout prompt for "Find in Files".mitchell
It is now possible to cancel a "Find in Files" search part-way through.
2016-07-04Replaced Lua pattern matching with Regex via Scintilla and TRE.mitchell
As a result, changed `ui.find.lua` to `ui.find.regex` Also removed luautf8 dependency since it is no longer needed. Regex replacements cannot contain embedded Lua code. Jumping to "find in files" results selects those results instead of just jumping to their respective lines.
2016-06-25Small code and documentation cleanup.mitchell
2016-06-16Changed arguments to `ui.goto_view()` and `view:goto_buffer()`.mitchell
They can accept either objects or relative numbers now. They do not accept absolute indices anymore.
2016-06-15`textadept.editing.goto_line()` takes 0-based line number.mitchell
It used to take a 1-based line number. Mimic Scintilla.
2016-06-15Lots of small LuaDoc improvements (grammar mainly).mitchell
2016-06-15Changed "find in files" API a bit.mitchell
Changed `ui.find.FILTER` to `ui.find.find_in_files_filter` and added an optional filter argument to `ui.find.find_in_files()`.
2016-06-15Renamed `ui.SILENT_PRINT` to `ui.silent_print`.mitchell
2016-06-15Changed some of 'lfs_ext' API.mitchell
Renamed `lfs.FILTER` to `lfs.default_filter` and removed `exclude_FILTER` argument from `lfs.dir_foreach()`.
2016-04-18Reverted r2149 (center found text in the view); modules/textadept/find.luamitchell
2016-04-16Find in files should not print the contents of binary files.mitchell
Use placeholder text instead. This is common in Unix tools.
2016-04-10Small documentation update.mitchell
2016-04-10Fixed "replace within selection" edge case; modules/textadept/find.luamitchell
Do not match one character past the end of the selection.
2016-04-10Center found text in the view; modules/textadept/find.luamitchell
2016-04-06Default to project root when finding in files; modules/textadept/find.luamitchell
2016-04-05Support UTF-8 searches in files; modules/textadept/find.luamitchell
2016-04-02Code cleanup.mitchell
Do not use `ipairs()` and use more consistent variable names among other things.
2016-03-26Support UTF-8 Lua pattern matching.mitchell
Makes use of an external luautf8 library, but only a subset of it.
2016-02-01Do not assume 1 byte char widths in Lua pattern find; modules/textadept/find.luamitchell
Eventually UTF-8 patterns may be possible.
2015-12-31Updated copyright date.mitchell
2015-07-25Highlight found text in find in files results.mitchell
2015-06-23Updated to Scintilla 3.5.7.mitchell
2015-04-13Added `symlink` filter option for ignoring symlinked files and directories.mitchell
2015-03-16Code cleanup based on the output of luacheck, a Lua linter.mitchell
2015-03-12Lua code cleanup.mitchell
2014-12-31Updated copyright year.mitchell
2014-11-12Code and documentation cleanup.mitchell
2014-11-06Use the current working directory in fileselect dialogs.mitchell
This should have been committed long ago.
2014-10-05Replaced command entry text field with a Scintilla buffer.mitchell
`ui.command_entry` now has the same functions and fields as `buffer`s as well as an additional `height` property. Note that when the command entry is active, `_G.buffer` is unchanged, so many existing key commands cannot be bound to command entry key modes. See `keys.lua_command` in *modules/textadept/command_entry.lua* for the proper way to bind them. Removed `ui.command_entry.entry_text` and `ui.command_entry.show_completions()`.
2014-09-29Fix replace bug when embedded Lua evals to a number; modules/textadept/find.luamitchell
2014-06-30Condensed manual and API documentation into single files.mitchell
2014-06-12Lua code cleanup.mitchell
2014-06-04Pressing "Enter" in message buffer simulates double-click.mitchell
In a "Find in Files" buffer, goes to the file on the current line. In a message buffer, jumps to the error or warning on the current line.
2014-05-23Fixed bug related to captures from previous searches; modules/textadept/find.luamitchell
2014-04-06Clarified "wrapping" in find/replace; modules/textadept/find.luamitchell
2014-03-01Use `assert(...)` as a shortcut for `if not ... then error() end`.mitchell
2014-01-12Updated copyright information.mitchell
2013-12-12More LuaDoc updates.mitchell