aboutsummaryrefslogtreecommitdiff
path: root/core/ui.lua
AgeCommit message (Collapse)Author
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
2015-02-23Fixed bug in previous commit when switching to new buffer; core/ui.luamitchell
2015-02-18Save and restore view-specific properties in view switch events; core/ui.luamitchell
2015-02-18Consider some view-specific properties as buffer-specific ones.mitchell
These include "view_eol", "wrap_mode", "view_ws", "margin_type_n", and "margin_width_n". The latter two are for preventing clashes between modules that modify margins on a per-buffer basis.
2015-01-22Small code and documentation cleanup.mitchell
2015-01-15Added events for terminal suspend and resume.mitchell
Suspend can be prevented by an error handler, described in a new FAQ entry. New `events.RESUME` replaces `events.FOCUS` for the terminal version. Utilize these events to disable/enable bracketed paste and mouse modes.