aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/editing.lua
AgeCommit message (Collapse)Author
2021-04-14Addressed some minor Luacheck issues.mitchell
Not all shadowing warnings need to be fixed.
2021-04-11Initial pass reformatting all code.mitchell
Use clang-format, LuaFormatter, and 100 character limit on lines.
2021-02-11Added support for TypeScript.mitchell
Requires latest Scintillua.
2021-01-29Updated copyright information.mitchell
2021-01-12Added Xs support.mitchell
Requires latest Scintillua.
2021-01-12Added systemd support.mitchell
Requires latest Scintillua.
2021-01-12Added Spin support.mitchell
Requires latest Scintillua.
2021-01-12Added RouterOS support.mitchell
Requires latest Scintillua.
2021-01-12Added fstab support.mitchell
Requires latest Scintillua.
2021-01-12Added systemd-networkd support.mitchell
Requires latest Scintillua.
2021-01-12Added Zig support.mitchell
Requires latest Scintillua.
2021-01-11Added Reason support.mitchell
Requires latest Scintillua.
2021-01-11Added Pony support.mitchell
Requires latest Scintillua.
2021-01-11Added Meson support.mitchell
Requires latest Scintillua.
2021-01-11Added Julia support.mitchell
Requires latest Scintillua.
2021-01-11Added Fantom support.mitchell
Requires latest Scintillua.
2021-01-11Added Elm support.mitchell
Requires latest Scintillua.
2021-01-11Added Clojure support.mitchell
Requires latest Scintillua.
2020-10-22`textadept.editing.strip_trailing_spaces` should not apply to binary files.mitchell
2020-10-20Code cleanup.mitchell
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.
2020-09-29Updated copyright information.mitchell
2020-09-14Added support for jq.mitchell
Thanks to anonymous. Requires scintillua r841 (changeset a1f0f494ff0e).
2020-09-07Added `ui.find.active` and prevent word highlighting when searching.mitchell
Word auto-highlighting when searching is too distracting.
2020-08-22Added `ui.command_entry.active` and fixed bugs in `events.KEYPRESS` handlers.mitchell
2020-08-20Do not accidentally activate "auto enclose" with some symbol keybindings.mitchell
2020-08-17Small code cleanup.mitchell
2020-08-17Added `textadept.editing.auto_enclose` for auto-enclosing selected text.mitchell
2020-08-03Fixed regression in showing images in Lua command entry completions.mitchell
2020-08-03Updated LuaDoc.mitchell
2020-07-25Fixed selected word highlighting with multiple selections.mitchell
2020-07-25Moved word highlighting back into editing module and disable by default.mitchell
Also fixed `HIGHLIGHT_SELECTED` behavior with non-word selections.
2020-07-16Minor LuaDoc updates and spelling corrections.mitchell
2020-07-14Renamed `textadept.editing.block_comment()` to `toggle_comment()`.mitchell
2020-07-13Auto-highlight all occurrences of selected words and find results.mitchell
This supercedes `textadept.editing.highlight_word()`, which has been removed. Changed the color of word highlights in themes.
2020-07-12Fixed --line command line switch.mitchell
Line number strings need to be converted to numbers.
2020-07-03Added support for Fennel.mitchell
Thanks to Momohime Honda.
2020-06-09Prefer `view.call_tip_*` instead of `buffer.call_tip_*`.mitchell
2020-05-26Fixed undocumented regression with word completion and case sensitivity.mitchell
This feature was inadvertently removed during a refactor.
2020-05-26Small code cleanup.mitchell
2020-05-25Allow views to be used as buffers and update API.mitchell
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.
2020-05-03`textadept.editing.highlight_word()` highlights whole words based on context.mitchell
2020-03-26Switched to 1-based indices for buffer positions, lines, and countable entities.mitchell
2020-03-17Align block comments by column if possible, not indent.mitchell
2020-03-13More code cleanup, refactoring, and reformatting.mitchell
2020-03-12Fixed regression recently introduced in brace highlighting.mitchell
`buffer:brace_bad_light()` was not being given the correct parameters.
2020-03-11More code cleanup, refactoring, and formatting.mitchell
2020-03-03Added test suite and API type checking for more helpful error messages.mitchell
2020-03-03Fixed regression with deleting an auto-pair when backspacing over the first.mitchell
This was caused by macros requiring the backspace key to be manually assigned.
2020-03-02Trim spaces when running filter through commands.mitchell
2020-02-28Autopair, typeover, and backspace delete match works with multiple selection.mitchell