| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
| |
It expands when zooming in but would not shrink when zooming back out.
|
|
|
|
| |
Updated themes to use new `view.element_color` and treat all colors as opaque if no alpha was given.
|
|
|
|
| |
Some of the Scintilla API has changed, and by extension the Scintillua API.
|
|
|
|
| |
Use clang-format, LuaFormatter, and 100 character limit on lines.
|
|
|
|
|
| |
This only happens on startup when recording initial buffer settings with the
`lexer` module mimic.
|
| |
|
| |
|
|
|
|
|
| |
This allows users and language modules to easily add bindings and snippets
without stepping on each other.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 also prevents a crash on exit in some circumstances, due to mismatched
metatables.
|
| |
|
|
|
|
|
| |
The compatibility checker is not perfect, and it serves primarily to remind
users to double-check their key shortcuts for Textadept 11.
|
|
|
|
|
| |
Scintilla LongTerm3 maintenance is ending with upcoming Scintilla 5.
Textadept now requires a C++17 compiler. Also updated Docker image.
|
| |
|
|
|
|
| |
Background highlighting provides more contrast.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Metatables were not being preserved.
|
| |
|
|
|
|
| |
Also fixed `HIGHLIGHT_SELECTED` behavior with non-word selections.
|
|
|
|
| |
This replaces the need for `view.property['fold*'] = ...`
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
This allows for use of colors directly in view functions.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
They had always been a bit counter-intuitive.
|
|
|
|
| |
This requires theme updates, primarily due to colour -> color.
|
| |
|
| |
|
|
|
|
| |
Also improved separate themes-per-view functionality.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
e.g. `io.reload_buffer()` was renamed `buffer:reload()`.
|
|
|
|
|
|
|
| |
The assumption was that `buffer.set_lexer` is only unavailable for the first
buffer, which has `buffer:private_lexer_call(SETLEXERLANGUAGE, ...)` called in
the `events.BUFFER_NEW` handler. However, `reset()` throws a wrench into
everything and a buffer can end up without a lexer.
|
| |
|
|
|
|
|
| |
This is not used internally and not documented. All modules should be in
*~/.textadept/modules*.
|
| |
|
| |
|
|
|
|
| |
Removed leading '_' from snippet methods, but kept compatibility for now.
|
| |
|