aboutsummaryrefslogtreecommitdiffhomepage
path: root/init.lua
Commit message (Collapse)AuthorAge
* Fixed calling `view:set_theme()` from the command entry.Gravatar mitchell2022-03-17
|
* Resize line number margin on reset.Gravatar mitchell2022-03-11
| | | | This reflects any font-size/theme changes made.
* Updated to Scintilla 5.2.0.Gravatar mitchell2022-02-15
|
* Updated copyright year.Gravatar mitchell2022-01-31
|
* Allow the line number margin to shrink when zooming out.Gravatar mitchell2021-12-29
| | | | It expands when zooming in but would not shrink when zooming back out.
* Updated to Scintilla 5.0.3.Gravatar mitchell2021-05-29
| | | | Updated themes to use new `view.element_color` and treat all colors as opaque if no alpha was given.
* Updated to Scintilla 5.0.1 and latest Scintillua and Scinterm.Gravatar mitchell2021-04-13
| | | | Some of the Scintilla API has changed, and by extension the Scintillua API.
* Initial pass reformatting all code.Gravatar mitchell2021-04-11
| | | | Use clang-format, LuaFormatter, and 100 character limit on lines.
* Fixed new theme's overriding of default theme's colors.Gravatar mitchell2021-03-01
| | | | | This only happens on startup when recording initial buffer settings with the `lexer` module mimic.
* Updated copyright information.Gravatar mitchell2021-01-29
|
* Removed temporary compatibility settings for 10.x.Gravatar mitchell2020-12-15
|
* Fill `keys` and `snippet` tables with language-specific tables on init.Gravatar mitchell2020-11-10
| | | | | This allows users and language modules to easily add bindings and snippets without stepping on each other.
* Code cleanup.Gravatar mitchell2020-10-20
| | | | | | | | | | | | | | | | 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.
* Use CRLF line endings on Windows by default.Gravatar mitchell2020-10-05
|
* Resize line number margin in view zoom.Gravatar mitchell2020-10-05
|
* Handle startup errors more nicely.Gravatar mitchell2020-10-02
| | | | | This also prevents a crash on exit in some circumstances, due to mismatched metatables.
* Updated copyright information.Gravatar mitchell2020-09-29
|
* Added option to disable temporary key shortcut compatibility checking.Gravatar mitchell2020-09-20
| | | | | The compatibility checker is not perfect, and it serves primarily to remind users to double-check their key shortcuts for Textadept 11.
* Switch back to Scintilla default (4.x), Scinterm, and Scintillua.Gravatar mitchell2020-09-13
| | | | | Scintilla LongTerm3 maintenance is ending with upcoming Scintilla 5. Textadept now requires a C++17 compiler. Also updated Docker image.
* Fixed incorrect compatibility notification for CSS key prefix.Gravatar mitchell2020-09-09
|
* Reverted find results indicator color change.Gravatar mitchell2020-09-07
| | | | Background highlighting provides more contrast.
* Updated `ui.find.FIND_INDIC` style.Gravatar mitchell2020-08-27
|
* Code cleanup.Gravatar mitchell2020-08-21
|
* Updated some documentation and use macOS instead of Mac OSX.Gravatar mitchell2020-08-17
|
* Updated to latest Scintilla hg to get `lexer.fold_consecutive_lines()`.Gravatar mitchell2020-08-03
|
* Emit more helpful initialization error messages in buffer/view settings.Gravatar mitchell2020-08-01
|
* Fixed _G.keys issues introduced by compatibility code.Gravatar mitchell2020-07-29
| | | | Metatables were not being preserved.
* Updated to Scintilla 3.21.0.Gravatar mitchell2020-07-27
|
* Moved word highlighting back into editing module and disable by default.Gravatar mitchell2020-07-25
| | | | Also fixed `HIGHLIGHT_SELECTED` behavior with non-word selections.
* Updated to latest Scintilla for new `lexer.fold*` API.Gravatar mitchell2020-07-18
| | | | This replaces the need for `view.property['fold*'] = ...`
* Make `lexer` global by default when it's available.Gravatar mitchell2020-07-13
|
* Auto-highlight all occurrences of selected words and find results.Gravatar mitchell2020-07-13
| | | | | This supercedes `textadept.editing.highlight_word()`, which has been removed. Changed the color of word highlights in themes.
* Be more consistent with "key sequences", "key commands", and "key bindings".Gravatar mitchell2020-07-12
| | | | Sequences are key strings, commands are Lua functions, and bindings are commands assigned to sequences.
* Auto-convert '#RRGGBB' format theme colors to 0xBBGGRR number format.Gravatar mitchell2020-07-08
| | | | This allows for use of colors directly in view functions.
* Added `lexer.colors` and `lexer.styles` and updated themes to utilize them.Gravatar mitchell2020-07-07
| | | | | | | 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.
* Ignore language name in language-specific keys when warning about compatibility.Gravatar mitchell2020-06-30
|
* Enabled compatibility message for old key modifiers.Gravatar mitchell2020-06-29
|
* Changed keybinding modifier keys.Gravatar mitchell2020-06-28
| | | | They had always been a bit counter-intuitive.
* Renamed some buffer/view fields to use American English instead of Australian.Gravatar mitchell2020-06-10
| | | | This requires theme updates, primarily due to colour -> color.
* Replaced `lfs.dir_foreach()` with `lfs.walk()` generator.Gravatar mitchell2020-06-10
|
* Prefer `view.property*` instead of `buffer.property*`.Gravatar mitchell2020-06-08
|
* Renamed `buffer:set_theme()` to `view:set_theme()` and fixed a bug with splits.Gravatar mitchell2020-06-05
| | | | Also improved separate themes-per-view functionality.
* Allow views to be used as buffers and update API.Gravatar mitchell2020-05-25
| | | | | | | 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.
* Switched to 1-based indices for buffer positions, lines, and countable entities.Gravatar mitchell2020-03-26
|
* Moved individual buffer functions in `io` into `buffer`.Gravatar mitchell2020-03-16
| | | | e.g. `io.reload_buffer()` was renamed `buffer:reload()`.
* Fixed crash introduced in previous commit.Gravatar mitchell2020-03-16
| | | | | | | 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.
* More code cleanup, refactoring, and reformatting.Gravatar mitchell2020-03-14
|
* Removed *~/.textadept/?.{lua,so}* from `package.path`.Gravatar mitchell2020-03-14
| | | | | This is not used internally and not documented. All modules should be in *~/.textadept/modules*.
* Fixed bug in previous commit that always loaded default lexers before user ones.Gravatar mitchell2020-03-09
|
* Ask LPeg lexer which lexers are available instead of searching for them.Gravatar mitchell2020-03-07
|