aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-07-25Find & Replace Pane now allows file filters to be specified for Find in Files.mitchell
Also updated `ui.find.focus()` to accept an optional table of options (e.g. in_files, incremental, etc.) for convenience.
2020-07-25Fixed initial setting of `ui.find.replace_entry_text` in the GUI.mitchell
GtkEntries are initialized with the same initial text pointer, which makes it impossible to initially differentiate between `find_text` and `repl_text` by their text pointers alone.
2020-07-25Fixed bug in incremental find in the terminal version.mitchell
Also fixed a bug in setting `ui.find.replace_entry_text`.
2020-07-25More code cleanup.mitchell
Use C99's stdbool.h.
2020-07-25Moved incremental find into Find & Replace Pane.mitchell
Added new `events.FIND_TEXT_CHANGED` to help facilitate this. "Whole word" and "Regex" are now supported in addition to "Match case". Also updated tests.
2020-07-24Updated to latest Scintilla hg for curses' `scintilla_get_clipboard()`.mitchell
Required for previous commit.
2020-07-24Code cleanup.mitchell
2020-07-18Updated to latest Scintilla for new `lexer.fold*` API.mitchell
This replaces the need for `view.property['fold*'] = ...`
2020-07-15Call `os.spawn()` exit callback after `proc:wait()`.mitchell
Added tests for `os.spawn()`.
2020-07-14`ui.dialogs.optionselect()` changes `informative_text` option to `text`.mitchell
This is more consistent with other non-text-input dialog options.
2020-07-13Test setting styles directly via `lexer.styles`.mitchell
Requires latest Scintilla for proper `lexer.colors` return types.
2020-07-12Read from system `LUA_PATH` and `LUA_CPATH` instead of custom env vars.mitchell
Textadept's paths have higher priority anyway.
2020-07-08Reverted accidental commit of experimental changes.mitchell
2020-07-07Added `lexer.colors` and `lexer.styles` and updated themes to utilize them.mitchell
This allows for a more Lua table-oriented approach to defining and using colors and styles, instead of manually manipulating Scintilla property strings. Themes are still backwards compatible, as the underlying mechanisms are still in place.
2020-06-28Renamed `ui.bufstatusbar_text` to `ui.buffer_statusbar_text`.mitchell
2020-06-22Fixed potential hangs on curses with `os.spawn()`.mitchell
Stop tracking and monitoring processes on exit.
2020-06-20Update to latest Scintilla revision for LexLPeg crash fix.mitchell
2020-06-11Fixed toggling of Find & Replace pane visibility with `ui.find.focus()`.mitchell
2020-05-31Updated for 11.0 alpha 2.mitchell
2020-05-27Fixed compile error on Windows.mitchell
2020-05-26Updated to latest Scintilla with ability to get style number from name.mitchell
2020-05-25Allow views to be used as buffers and update API.mitchell
This allows for a superficial separation of buffer- and view-specific Scintilla functionality. buffers and views can now be used interchangeably for the most part, and the APIs are guidance, not hard requirements. User scripts do not require any modification and will continue to function normally.
2020-05-24Changed `os.spawn()` exit callback and `spawn_proc:wait()` behavior.mitchell
Since `waitpid()` cannot be used by both GLib (via `os.spawn()`) and `spawn_proc:wait()`, use only one or the other. Then clean up after process exit.
2020-05-09Updated to Scintilla 3.20.0.mitchell
2020-04-25Updated to latest Scintilla hg with lexer updates.mitchell
2020-04-07Updated Scintilla hg to get curses improvements.mitchell
2020-04-05Updated Scintilla hg to get curses improvements.mitchell
Fixed drawing autocompletion lists and calltips on Win32 and enable autoscrolling when clicking and dragging the mouse.
2020-03-31Updated Lua autocompletion and documentation.mitchell
Filepaths have a "_HOME" prefix that is expected to be filled in by consumers (e.g. the experimental ctags module).
2020-03-30Fixed Win32 curses issues.mitchell
2020-03-29Updated for 11.0 alpha.mitchell
2020-03-29Updated to latest Scintilla to fix embedded lexer issue.mitchell
This fixes PHP, Django, and other lexers that embed themselves.
2020-03-26Removed accidentally committed experimental function.mitchell
2020-03-26Fixed GUI find history.mitchell
The wrong end of the history was being overwritten.
2020-03-26Switched to 1-based indices for buffer positions, lines, and countable entities.mitchell
2020-03-25Refactored buffer and view metamethods by splitting them up.mitchell
Grouping them saves a few lines of code, but it's not very maintainable.
2020-03-23Renamed callback function.mitchell
2020-03-23Added unit tests for core code in textadept.c.mitchell
Most of the core is exercised by the Lua test suite, but coverage lapses can be uncovered using the GCC compiler flags "-fprofile-arcs -ftest-coverage"..
2020-03-22Utilize userdata parameter in signal callback functions.mitchell
Ideally, callbacks would not utilize global variables at all. However, passing around just the Lua state seems a bit odd.
2020-03-22More code cleanup, reformatting, refactoring, and bug fixing.mitchell
2020-03-19Fixed tab label display on Windows.mitchell
2020-03-19Store GTK find/replace history in reverse order.mitchell
This allows for traditional command line history navigation using arrow keys.
2020-03-18Forgot to commit cdk.patch with widget needed for curses progressbar.mitchell
2020-03-18Added `ui.dialogs.progressbar()` and utilize it with Find in Files.mitchell
2020-03-17Fixed version determination for documentation generation.mitchell
Recent code formatting changed the quotes to look for.
2020-03-11Replaced `buffer.style_name` table with `buffer:name_of_style()`.mitchell
This requires Scintilla changeset 429993cf4429.
2020-03-10Updated to latest Scintilla required by r2699.mitchell
2020-03-08Support SCI_PRIVATELEXERCALL with SCI_LOADLEXERLIBRARY.mitchell
This change should have been committed with r2697 (changeset 40a1cf1c4fd0).
2020-02-24Added `_SCINTILLA.events` and use it for SCNotifications.mitchell
2020-02-20Enable batch mode for gpg signing.mitchell
Nightly builds have been failing with a "cannot open /dev/tty" error. If this does not work, try "--no-tty" or a combination of the two.
2020-02-17Removed Makefile rule to create a ctags tags file.mitchell