Age | Commit message (Collapse) | Author |
|
Also change brace highlight style to not change the background color, as some
terminal cursors invert the current cell, so this would cause the highlighted
brace at the current position to "unhighlight", causing confusion.
This requires latest Scinterm.
|
|
|
|
Textadept hides the first tab by default since its information is duplicated in
the titlebar and screen space is wasted. However, some users choose to hide
titlebars (e.g. on window maximize/fullscreen), so this option now exists.
|
|
Note that connecting to `events.MODIFIED` is still intentionally undocumented.
|
|
|
|
Do not emit this event when a dialog is active.
|
|
|
|
|
|
Otherwise, autocompletion lists may not be canceled.
|
|
It's more reliable and is similar to `ui.find.active`.
|
|
External modules that have finalizers (__gc metamethod) need to be run now,
or else segfaults can occur when running the gc later with stale data.
|
|
|
|
This is analagous to `events.FIND_TEXT_CHANGED`.
|
|
|
|
Scintilla LongTerm3 maintenance is ending with upcoming Scintilla 5.
Textadept now requires a C++17 compiler. Also updated Docker image.
|
|
|
|
|
|
Word auto-highlighting when searching is too distracting.
|
|
|
|
This is not necessary if deleting a non-visible buffer (e.g. in the dummy view).
|
|
For some reason, modern MinGW-w64 GCC always returns boolean true unless
compiling with debug symbols. Most typing into Scintilla widgets was not working
at all.
This does not occur on older versions of MinGW GCC.
|
|
|
|
This affects SCN_URIDROPPED among others.
|
|
In the GUI, Enter and Shift+Enter invoke Find Next and Find Prev, respectively.
In the terminal, Up, Down, and Tab toggle between buttons more consistently;
removed Shift-Tab binding. Also fixed entry drawing issue with Tab.
|
|
|
|
|
|
|
|
|
|
Also updated `ui.find.focus()` to accept an optional table of options (e.g.
in_files, incremental, etc.) for convenience.
|
|
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.
|
|
Also fixed a bug in setting `ui.find.replace_entry_text`.
|
|
Use C99's stdbool.h.
|
|
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.
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
The wrong end of the history was being overwritten.
|
|
|
|
Grouping them saves a few lines of code, but it's not very maintainable.
|
|
|
|
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"..
|
|
Ideally, callbacks would not utilize global variables at all. However, passing
around just the Lua state seems a bit odd.
|
|
|
|
|