aboutsummaryrefslogtreecommitdiff
path: root/core/ui.lua
AgeCommit message (Collapse)Author
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
2016-04-05Do not run some `events.UPDATE_UI` handlers when scrolling.mitchell
2016-04-05Only convert filenames from `_CHARSET` to UTF-8, not UTF-8-encoded buffer names.mitchell
2016-04-05File dialogs only return UTF-8-encoded filenames on Win32 GTK; core/ui.luamitchell
2016-04-02Code cleanup.mitchell
Do not use `ipairs()` and use more consistent variable names among other things.
2016-02-01Code cleanup; ui.luamitchell
2016-01-29`buffer:clear_cmd_key()` should only take one argument.mitchell
The `bit32` library makes bit shifting easier.
2015-12-31Updated copyright date.mitchell
2015-07-25Highlight found text in find in files results.mitchell
2015-04-27Fixed filename encoding issues on Windows; core/ui.luamitchell
2015-03-16Code cleanup based on the output of luacheck, a Lua linter.mitchell
2015-03-12Lua code cleanup.mitchell
2015-03-11Fixed bug with new view-specific properties; core/ui.luamitchell