aboutsummaryrefslogtreecommitdiff
path: root/core/ui.lua
AgeCommit message (Collapse)Author
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.
2015-01-15Fix opening network path files on Win32.mitchell
Thanks to Daniel Wutke.
2014-12-31Updated copyright year.mitchell
2014-12-23Enable suspend in the terminal version.mitchell
Patch libtermkey to allow this and also to support mouse enabling/disabling. Needed to change ^Z undo to M-Z and added M-S-Z as extra redo.
2014-11-27Small code cleanup.mitchell
2014-11-26Fixed bug in jumping to compile/run errors and clear annotations before builds.mitchell
2014-11-26Allow connection to `events.QUIT` without requiring index of 1.mitchell
2014-11-12Code and documentation cleanup.mitchell
2014-11-06Fixed return values from `ui.dialogs.optionselect()`; core/ui.luamitchell
2014-10-25Improvements to terminal mouse handling.mitchell
Emit events for unhandled mouse events and connect to such events in order to focus and resize views. Patch libtermkey with new Win32 PDCurses driver for unified key/mouse input. Update CDK patch to always use libtermkey and to ignore mouse events. Requires Scinterm r97 (changeset 8d1a625c9b4d). Thanks to Chris Emerson for proof of concept code that handles mouse events and for the code that focuses and resizes views.
2014-09-11Fixed corner-case in switching to most recent buffer after closing; core/ui.luamitchell
2014-08-10Switch to previous buffer after closing a buffer; core/ui.luamitchell
2014-08-09Indicate presence of a BOM next to statusbar encoding; core/ui.luamitchell
2014-07-02Updated links and homepage.mitchell
2014-06-30Condensed manual and API documentation into single files.mitchell
2014-06-12Lua code cleanup.mitchell
2014-05-31Fixed erroneous LuaDoc.mitchell
2014-05-28Textadept's menus may be edited in-place via the `textadept.menu` module.mitchell
Any changes, even incremental ones, are reflected immediately. As a result, removed `set_menubar()` and `set_contextmenus()` from API.
2014-04-06Fixed bug when cancelling dropdown dialog; core/ui.luamitchell
2014-03-27Added basic project support for snapopen and build scripts.mitchell
Also fixed some curses errors introduced by the last commit.
2014-03-20Added new `ui.SILENT_PRINT` option for printing to buffers silently; core/ui.luamitchell
Those buffers will not steal focus and no views will be split.
2014-03-05Added support for gtdialog's new `optionselect` dialog.mitchell
This requires gtdialog r68 (changeset 1426c89d2874).
2014-02-19Fixed bug introduced by last commit; core/ui.luamitchell
2014-02-18Fixed bug with empty entries in multiple entry inputdialogs; core/ui.luamitchell
2014-01-28Fixed bug with restoring views in buffers with word wrap enabled; core/ui.luamitchell
2014-01-16Added support for multiple entry boxes in inputdialogs.mitchell
Requires latest gtdialog hg (r67).
2014-01-12Updated copyright information.mitchell
2014-01-01Merge the separate Textadept and lexer Lua states into a single unified one.mitchell
This is an experimental change and requires the latest Scintillua changes.
2013-12-19Added configurable tab context menus.mitchell
Deprecated `textadept.menu.set_contextmenu()` in favor of new `textadept.menu.set_contextmenus()`.
2013-12-12More LuaDoc updates.mitchell
2013-11-19Do not split the view when printing messages if tabs are enabled; core/ui.luamitchell
2013-11-10`ui.clipboard_text` is no longer read-only.mitchell
2013-11-10Updated LuaDoc.mitchell
2013-11-07Added support for tabs.mitchell
2013-10-18The buffer API applies to all buffers now, not just the global one.mitchell
Created a "dummy" Scintilla view for operating on non-global documents. Removed `buffer:check_global()` and replaced `buffer.dirty` with Scintilla's `buffer.modify`.
2013-10-18More LuaDoc updates.mitchell
2013-10-02Changed `ui.set_theme()` API to accept a table of properties to assign.mitchell
2013-09-29Added new `ui.dialogs` module for more user-friendly dialog support.mitchell
As a result, removed `ui.filteredlist()` and changed `io.open_file()` and `io.snapopen()` APIs to accept tables of files and paths instead of "\n" delimited strings.
2013-09-16Removed the `SC` prefix from most constants in `_SCINTILLA.constants`.mitchell
2013-09-16Removed the `SC_` prefix from constants in `_SCINTILLA.constants`.mitchell
Also removed more unused constants.
2013-09-15Do not convert filenames to UTF-8; keep them in `_CHARSET`.mitchell
2013-09-09Moved buffer IO functions into the `io` module.mitchell
Menus and key bindings do not need `events.INITIALIZED`.
2013-09-08Fixed potential crash caused by split views.mitchell