aboutsummaryrefslogtreecommitdiff
path: root/core/ui.lua
AgeCommit message (Collapse)Author
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.
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).