aboutsummaryrefslogtreecommitdiff
path: root/core/ui.lua
AgeCommit message (Collapse)Author
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-19Make `ui.highlight_words` a multi-option setting.mitchell
Highlighting the current word could be useful instead of just the selected word.
2020-07-16Minor LuaDoc updates and spelling corrections.mitchell
2020-07-13Limit word highlighting to single words.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-06-28Renamed `ui.bufstatusbar_text` to `ui.buffer_statusbar_text`.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-04-05Only print post-initialization errors to buffers.mitchell
This avoids infinite loops. Pre-initialization errors are already shown in textbox dialogs.
2020-03-30Fixed stale statusbar issues introduced recently.mitchell
2020-03-26Switched to 1-based indices for buffer positions, lines, and countable entities.mitchell
2020-03-22Use the statusbar to indicate an active snippet.mitchell
This helps avoid disorienting jumps when the user is not aware a snippet is still active.
2020-03-18Added `ui.dialogs.progressbar()` and utilize it with Find in Files.mitchell
2020-03-16Use a default width for `ui.dialogs.filteredlist` dialogs.mitchell
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.
2020-03-16Detect and allow jumping to internal Lua errors.mitchell
2020-03-11More code cleanup, refactoring, and formatting.mitchell
2020-03-10Core code cleanup, reformat, refactoring, and bugfixes.mitchell
`events.FILE_CHANGED` was not emitting a filename. Added tests for key commands, keychains, and key modes.
2020-03-03Added test suite and API type checking for more helpful error messages.mitchell
2020-02-28Autopair, typeover, and backspace delete match works with multiple selection.mitchell
2020-02-26Fixed bugs in return values for standard_dropdown and msgbox dialogs.mitchell
standard_dropdown was not returning the right value and msgboxes could not return string output.
2020-02-21Removed '_' mnemonics from locale keys.mitchell
Kept backward-compatibility for now.
2020-02-21Tweaked localization keys.mitchell
This is in anticipate of removing '_' from keys, which would have created duplicate keys.
2020-02-07Update the buffer z-order list when switching between views too.mitchell
This fixes the case where switching between views can prevent switching to the previous view's buffer, which may be desirable.
2019-12-31Updated copyright year.mitchell
2019-11-13Make new arguments to `events.TAB_CLICKED` backwards-compatible.mitchell
2019-11-07Changed `events.TAB_CLICKED` to emit button clicked as well as modifier keys.mitchell
This allows users to close buffers on middle-click for example.
2019-09-25Fixed opening of non-UTF-8-encoded filenames dropped into a view.mitchell
2019-09-20Do not restore rectangular selection mode on buffer switch.mitchell
If the mode was not originally enabled, this just causes confusion.
2019-09-20Restore rectangular selection state when switching between buffers.mitchell
2019-09-19Restore virtual space state when switching between buffers.mitchell
2019-09-19Fixed bug introduced in r2623.mitchell
2019-09-19Properly handle absolute paths in run output and case-insensitivity on Windows.mitchell
2019-08-07Improve caret sticky behavior when switching between buffers.mitchell
This works best with buffer.CARET_STICKY_OFF. For any other sticky setting, the last x position may be lost (e.g. when set by mouse click, inserted indentation, etc.).
2019-07-30Fail more gracefully when attempting to create buffers on init.mitchell
2019-02-16Updated copyright year.mitchell
2018-10-31Fixed inability to resize one split view configuration with the mouse in curses.mitchell
2018-10-17Document the fact that `ui.print()` cannot be called during init.mitchell
2018-09-10Added ability to save/restore persistent data during reset.mitchell
2018-08-06Fixed view focus synchronization issues when dropping files into split views.mitchell
2018-04-25Removed LuaJIT version of Textadept.mitchell
Also updated to Lua 5.3 syntax where held back by LuaJIT's 5.1/5.2 syntax.
2018-02-21The terminal version can immediately focus a clicked view.mitchell
This allows for immediate scrolling, selections, etc. in non-focused views. This behavior mimics the GUI version.
2018-02-16Fixed crash when attempting to show badly-encoded filename in titlebar.mitchell
2018-02-16Fixed copy-paste between views in the terminal version.mitchell
2018-01-25Updated copyright year.mitchell
2017-11-12Buffer settings on startup apply to subsequent buffers.mitchell
As a result, no need for a *properties.lua* file anymore. Also, renamed `ui.set_theme()` to `buffer.set_theme()`.
2017-11-07No need to manually set codepage to UTF-8, now that it's Scintilla's default.mitchell
2017-07-02Added ability for buffer list to show buffers by z-order.mitchell
2017-06-23Small code cleanup.mitchell
2017-06-20Added support and documentation for new ui dialogs.mitchell
This requires gtdialog r108 (changeset 8465c20432e1).
2016-12-31Updated copyright information.mitchell
2016-10-19Updated to Scintilla 3.7.0.mitchell