Age | Commit message (Collapse) | Author |
|
|
|
It is possible to have in a non-current view a buffer without saved selection
data.
|
|
This allows for a superficial separation of buffer- and view-specific Scintilla
functionality. buffers and views can now be used interchangeably for the most
part, and the APIs are guidance, not hard requirements. User scripts do not
require any modification and will continue to function normally.
|
|
|
|
|
|
User scripts can now save and load from session data.
|
|
|
|
|
|
|
|
|
|
Also updated to Lua 5.3 syntax where held back by LuaJIT's 5.1/5.2 syntax.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
They can accept either objects or relative numbers now. They do not accept
absolute indices anymore.
|
|
|
|
|
|
Also, existing files should be closed upon opening a new session.
|
|
Do not use `ipairs()` and use more consistent variable names among other things.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
Menus and key bindings do not need `events.INITIALIZED`.
|
|
|
|
|
|
|
|
Also ensure backward-compatibility with existing session files.
|
|
"local buffer = buffer" and similar optimizations are not needed since lexing
the buffer is much more expensive and reaction time is limited by how fast the
keyboard can submit key presses.
|
|
Requires gtdialog r56.
|
|
|