aboutsummaryrefslogtreecommitdiff
path: root/core/ui.lua
AgeCommit message (Collapse)Author
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
2016-08-29Small LuaDoc updates.mitchell
2016-07-24Added `events.TAB_CLICKED` event.mitchell
This allows for the user to override the default switch behavior (e.g. switch to an existing split view that already has the target buffer open). Thanks to Gabriel Dubatti.
2016-06-16Changed arguments to `ui.goto_view()` and `view:goto_buffer()`.mitchell
They can accept either objects or relative numbers now. They do not accept absolute indices anymore.
2016-06-15Renamed `ui.SILENT_PRINT` to `ui.silent_print`.mitchell
2016-06-15Removed explicit detection and use of extinct CR line endings.mitchell
It's quite possible some of Textadept's functions didn't handle them properly anyway.
2016-06-15Removed explicit BOM support.mitchell
BOM use is legacy and discouraged. Scintilla and iconv appear to silently handle BOMs just fine.
2016-04-16Localize "Lua reset" message.mitchell
2016-04-11Save and restore horizontal scroll position when switching buffers; core/ui.luamitchell