Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
This allows for traditional command line history navigation using arrow keys.
|
|
|
|
This change should have been committed with r2697 (changeset 40a1cf1c4fd0).
|
|
|
|
`io.popen()` and `os.execute()` change the console mode such that mouse clicks
are no longer detected. Make sure it's reset.
Also prevent `os.execute()` output from overwriting the window.
|
|
|
|
|
|
This allows users to close buffers on middle-click for example.
|
|
It appears that calling SCI_CREATEDOCUMENT alters view state immediately such
that at least fold state is no longer available to store.
|
|
|
|
Scintilla.iface has changed, as has some of its underlying platform API. Testing
sooner is better than later.
|
|
1080p (full HD) screens seem to be the norm now.
|
|
Forcing a switch to and from the source buffer's view triggers "switch" view
events, which can cause trouble.
There's no need to know this in real-time and `buffer.modified` can be checked
in an `events.BUFFER_AFTER_SWITCH` or `events.VIEW_AFTER_SWITCH` handler.
|
|
|
|
|
|
Updating to GTK 2.24.32 on Windows seems to have removed the need to translate
keys. It is possible that some international layouts do not need it, but some
do.
|
|
|