Releases: orbitalquark/textadept
Releases · orbitalquark/textadept
11.0 alpha 2
(01 Jun 2020)
Please see the 10 to 11 migration guide for upgrading from Textadept 10 to
Textadept 11.
Bugfixes:
- Fixed some drive letter case issues on Windows resulting in duplicate open
files. - Fixed
os.spawn
exit callback andspawn_proc:wait()
inconsistencies. - Restore prior key mode after running the command entry.
- Fixed regression with word completion not respecting
buffer.auto_c_ignore_case
. - Scintilla: Fixed display of windowed IME on Wayland.
Changes:
- Views can be used as buffers in most places, resulting in new
API suggestions forbuffer
andview
. - Scintilla: Added
buffer:marker_handle_from_line()
and
buffer:marker_number_from_line()
for iterating through the marker
handles and marker numbers on a line. - Scintilla: Deprecated
lexer.delimited_range()
andlexer.nested_pair()
in
favor oflexer.range()
, and addedlexer.to_eol()
and
lexer.number
. - Scintilla: Automatically scroll text while dragging.
- Scintilla: Improved behavior of IME.
- Updated to Scintilla 3.20.0.
11.0 alpha
(31 Mar 2020)
Please see the 10 to 11 migration guide for upgrading from Textadept 10 to
Textadept 11.
Bugfixes:
- Fixed
--help
command line option. - Fixed Textadept API autocompletion and documentation on Windows.
- Fixed bug that regards lexer-specific snippet files as global.
- Fixed hangs on Win32 terminal version with
textadept.editing.filter_through()
. - Fixed issues with buffer z-order when switching between views.
- Fixed accidental clipping of first character in a snippet under certain
circumstances. - Fixed C autocompletion error with typerefs.
- Fixed skipping of event handlers that come directly after one that was just
run, but disconnected. - Fixed bugs in the return values of
ui.dialogs.standard_dropdown
andmsgbox
dialogs. - Fixed
events.FILE_CHANGED
not emitting a filename. - Fixed bug with pipes in
textadept.editing.filter_through()
. - Fixed tab label display on Windows.
- Fixed bug in syntax highlighting with PHP, Django, and other lexers that embed
themselves.
Changes:
- All buffer positions, lines, and countable entities start from 1 instead of 0.
- Support more Alt and Shift+Alt keys in the Win32 terminal version.
textadept.editing.api_files
acts as if it already has lexer tables defined.textadept.run.goto_error()
wraps searches now.- Added snippet trigger autocompletion via
textadept.editing.autocomplete('snippet')
. - Improved Lua API documentation generator.
- Localization keys in
_L
no longer contain GUI mnemonics ('_'). textadept.snippets
functions no longer have a '_' prefix.--help
command line options are alphabetized.- The Lua command entry can now run any
view
functions by name (e.g. split). - Auto-pair, type-over, and auto-deletion of matching braces now works with
multiple selections. - Removed
textadept.file_types.lexers
table in favor of asking the LPeg lexer
for known lexer names. - Updated German translation.
- Changed
textadept.bookmarks.toggle()
to only toggle bookmarks on the current
line. - Removed '=' prefix in command entry that would print results; printing results
has been the default behavior for quite some time. - Replaced
buffer.style_name[]
withbuffer:name_of_style()
. - Session files are now Lua data files; old formats will no longer work.
- Added
events.SESSION_SAVE
andevents.SESSION_LOAD
events for
saving and loading custom user data to sessions. - Removed ~/.textadept/?.lua and ~/.textadept/?.{so,dll} from
package.path
andpackage.cpath
, respectively. - Lua errors in Textadept can now be jumped to via double-click or Enter.
ui.dialogs.filteredlist()
dialogs have a reasonable default width.- Renamed
keys.MODE
tokeys.mode
. - Moved individual buffer functions in
io
intobuffer
. - Event handlers can now return any non-
nil
value instead of a boolean value
and have that value passed back toevents.emit()
. - Lua command entry completions show images just like in Lua autocompletion.
- Align block comments by column if possible, not indent.
- Added per-mode command entry history which can be cycled through using the
Up
andDown
keys. - Added
ui.dialogs.progressbar()
, utilize it with Find in Files, and
removedui.find.find_in_files_timeout
. - GUI find/replace history Up/Down history key bindings swapped, mimicking
traditional command line history navigation. - The statusbar now indicates an active snippet.
- Updated to PDCurses 3.9.
- Experimental set of "standard" modules is provided in the modules archive
instead of just language modules.
10.8
(01 Jan 2020)
Bugfixes:
- Fixed incorrect event arguments for
events.AUTO_C_SELECTION_CHANGE
. - Fixed bug in "Replace All in selection" with match at the end of a selection.
- Fixed long line output for run, compile, and build commands.
Changes:
- Changed
events.TAB_CLICKED
to emit button clicked as well as modifier
keys. - Autocompletion and documentation for Textadept's Lua API only happens in
Textadept files now (i.e. files in_HOME
and_USERHOME
). textadept.editing.api_files
and_M.lua.tags
can contain functions that
return file paths.- Added support for txt2tags.
- Scintilla: Added access to virtual space at the start and end of multiple
selections. - Scintilla: The target can have virtual space.
- Updated to Scintilla 3.11.2.