Age | Commit message (Collapse) | Author |
|
|
|
This enables the running of project tests.
|
|
|
|
Of note:
* io.save_all_files() does not visit each buffer to save anymore. An unintended
side-effect was checking for outside modification (but only if the file itself
was modified), so outside changes will always be saved over now.
* The menu clicked handler uses assert_type(), so the 'Unknown command'
localization is no longer needed.
* When printing to a new buffer type would split the view, use an existing split
view when possible.
* Prefer 'goto continue' construct in loops over nested 'if's.
* Fixed clearing of ui.find.replace_entry_text on reset in the GUI version.
* Fixed lack of statusbar updating when setting options like buffer EOL mode,
indentation, and encoding.
* Renamed internal new_snippet() to new() and put it in the snippet metatable.
|
|
|
|
This replaces custom code in *modules/textadept/menu.lua*.
|
|
|
|
|
|
Added some documentation infrastructure for eventual migration to a new build
service. Use a simple Lua script for generating documentation offline.
|
|
Also changed the mnemonic for "Edit > Filter Through" in the process.
|
|
|
|
|
|
Previously, you had to be on a line that was a fold point.
|
|
It does not seem necessary anymore.
|
|
This is a legacy feature for when multi-language lexers did not backtrack to
keep track of what the current language is.
|
|
Also updated `ui.find.focus()` to accept an optional table of options (e.g.
in_files, incremental, etc.) for convenience.
|
|
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 supercedes `textadept.editing.highlight_word()`, which has been removed.
Changed the color of word highlights in themes.
|
|
|
|
Sequences are key strings, commands are Lua functions, and bindings are commands assigned to sequences.
|
|
They had always been a bit counter-intuitive.
|
|
This requires theme updates, primarily due to colour -> color.
|
|
|
|
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.
|
|
|
|
This helps avoid disorienting jumps when the user is not aware a snippet is
still active.
|
|
e.g. `io.reload_buffer()` was renamed `buffer:reload()`.
|
|
Experience has shown a vast majority of filteredlist dialogs need to be wide.
Use a standard width that needs to be overridden rather than remembered.
|
|
|
|
This requires Scintilla changeset 429993cf4429.
|
|
|
|
|
|
Removed leading '_' from snippet methods, but kept compatibility for now.
|
|
Kept backward-compatibility for now.
|
|
This is in anticipate of removing '_' from keys, which would have created
duplicate keys.
|
|
Also refactored snippet lookup, added options to Lua and C modules to include
snippet triggers in autocompletion lists, swapped snippet keybindings, and fixed
a bug recognizing lexer-specific snippet files as global.
|
|
|
|
Also updated keybindings.
|
|
The command entry no longer uses named key modes. Instead, mode keys are
supplied to `run()` if necessary. The command entry remains modal, though.
|
|
|
|
The current line should always remain visible.
|
|
CP1252 is a superset of ISO-8859-1.
|
|
|
|
|
|
|
|
|
|
|
|
It can be implemented as a separate user module instead.
|
|
|