aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/find.lua
AgeCommit message (Collapse)Author
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
2013-11-18LuaDoc updates.mitchell
2013-11-11Fixed bug when replacement captures have escapes; modules/textadept/find.luamitchell
2013-11-10Store the full Lua pattern match in "%0" for use in replacement text.mitchell
2013-11-10Updated LuaDoc.mitchell
2013-10-18More LuaDoc updates.mitchell
2013-10-09More LuaDoc updates.mitchell
2013-09-29Added new `ui.dialogs` module for more user-friendly dialog support.mitchell
As a result, removed `ui.filteredlist()` and changed `io.open_file()` and `io.snapopen()` APIs to accept tables of files and paths instead of "\n" delimited strings.
2013-09-16Removed the `SC` prefix from most constants in `_SCINTILLA.constants`.mitchell
2013-09-16Removed the `SC_` prefix from constants in `_SCINTILLA.constants`.mitchell
Also removed more unused constants.
2013-09-15Do not convert filenames to UTF-8; keep them in `_CHARSET`.mitchell
2013-09-06Updated LuaDoc.mitchell