Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fixed calling `view:set_theme()` from the command entry. | mitchell | 2022-03-17 |
| | |||
* | Resize line number margin on reset. | mitchell | 2022-03-11 |
| | | | | This reflects any font-size/theme changes made. | ||
* | Updated to Scintilla 5.2.0. | mitchell | 2022-02-15 |
| | |||
* | Updated copyright year. | mitchell | 2022-01-31 |
| | |||
* | Allow the line number margin to shrink when zooming out. | mitchell | 2021-12-29 |
| | | | | It expands when zooming in but would not shrink when zooming back out. | ||
* | Updated to Scintilla 5.0.3. | mitchell | 2021-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. | mitchell | 2021-04-13 |
| | | | | Some of the Scintilla API has changed, and by extension the Scintillua API. | ||
* | Initial pass reformatting all code. | mitchell | 2021-04-11 |
| | | | | Use clang-format, LuaFormatter, and 100 character limit on lines. | ||
* | Fixed new theme's overriding of default theme's colors. | mitchell | 2021-03-01 |
| | | | | | This only happens on startup when recording initial buffer settings with the `lexer` module mimic. | ||
* | Updated copyright information. | mitchell | 2021-01-29 |
| | |||
* | Removed temporary compatibility settings for 10.x. | mitchell | 2020-12-15 |
| | |||
* | Fill `keys` and `snippet` tables with language-specific tables on init. | mitchell | 2020-11-10 |
| | | | | | This allows users and language modules to easily add bindings and snippets without stepping on each other. | ||
* | Code cleanup. | mitchell | 2020-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. | mitchell | 2020-10-05 |
| | |||
* | Resize line number margin in view zoom. | mitchell | 2020-10-05 |
| | |||
* | Handle startup errors more nicely. | mitchell | 2020-10-02 |
| | | | | | This also prevents a crash on exit in some circumstances, due to mismatched metatables. | ||
* | Updated copyright information. | mitchell | 2020-09-29 |
| | |||
* | Added option to disable temporary key shortcut compatibility checking. | mitchell | 2020-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. | mitchell | 2020-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. | mitchell | 2020-09-09 |
| | |||
* | Reverted find results indicator color change. | mitchell | 2020-09-07 |
| | | | | Background highlighting provides more contrast. | ||
* | Updated `ui.find.FIND_INDIC` style. | mitchell | 2020-08-27 |
| | |||
* | Code cleanup. | mitchell | 2020-08-21 |
| | |||
* | Updated some documentation and use macOS instead of Mac OSX. | mitchell | 2020-08-17 |
| | |||
* | Updated to latest Scintilla hg to get `lexer.fold_consecutive_lines()`. | mitchell | 2020-08-03 |
| | |||
* | Emit more helpful initialization error messages in buffer/view settings. | mitchell | 2020-08-01 |
| | |||
* | Fixed _G.keys issues introduced by compatibility code. | mitchell | 2020-07-29 |
| | | | | Metatables were not being preserved. | ||
* | Updated to Scintilla 3.21.0. | mitchell | 2020-07-27 |
| | |||
* | Moved word highlighting back into editing module and disable by default. | mitchell | 2020-07-25 |
| | | | | Also fixed `HIGHLIGHT_SELECTED` behavior with non-word selections. | ||
* | Updated to latest Scintilla for new `lexer.fold*` API. | mitchell | 2020-07-18 |
| | | | | This replaces the need for `view.property['fold*'] = ...` | ||
* | Make `lexer` global by default when it's available. | mitchell | 2020-07-13 |
| | |||
* | Auto-highlight all occurrences of selected words and find results. | mitchell | 2020-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". | mitchell | 2020-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. | mitchell | 2020-07-08 |
| | | | | This allows for use of colors directly in view functions. | ||
* | Added `lexer.colors` and `lexer.styles` and updated themes to utilize them. | mitchell | 2020-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. | mitchell | 2020-06-30 |
| | |||
* | Enabled compatibility message for old key modifiers. | mitchell | 2020-06-29 |
| | |||
* | Changed keybinding modifier keys. | mitchell | 2020-06-28 |
| | | | | They had always been a bit counter-intuitive. | ||
* | Renamed some buffer/view fields to use American English instead of Australian. | mitchell | 2020-06-10 |
| | | | | This requires theme updates, primarily due to colour -> color. | ||
* | Replaced `lfs.dir_foreach()` with `lfs.walk()` generator. | mitchell | 2020-06-10 |
| | |||
* | Prefer `view.property*` instead of `buffer.property*`. | mitchell | 2020-06-08 |
| | |||
* | Renamed `buffer:set_theme()` to `view:set_theme()` and fixed a bug with splits. | mitchell | 2020-06-05 |
| | | | | Also improved separate themes-per-view functionality. | ||
* | Allow views to be used as buffers and update API. | mitchell | 2020-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. | mitchell | 2020-03-26 |
| | |||
* | Moved individual buffer functions in `io` into `buffer`. | mitchell | 2020-03-16 |
| | | | | e.g. `io.reload_buffer()` was renamed `buffer:reload()`. | ||
* | Fixed crash introduced in previous commit. | mitchell | 2020-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. | mitchell | 2020-03-14 |
| | |||
* | Removed *~/.textadept/?.{lua,so}* from `package.path`. | mitchell | 2020-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. | mitchell | 2020-03-09 |
| | |||
* | Ask LPeg lexer which lexers are available instead of searching for them. | mitchell | 2020-03-07 |
| |