Releases: orbitalquark/textadept
Releases · orbitalquark/textadept
11.0_beta_2
Textadept 11.0 beta 2 (01 Nov 2020)
Please see the 10 to 11 migration guide for upgrading from Textadept 10 to
Textadept 11.
Download:
- Textadept 11.0 beta 2 -- Win32
- Textadept 11.0 beta 2 -- Mac OSX 10.7+
- Textadept 11.0 beta 2 -- Linux
- Textadept 11.0 beta 2 -- Modules
Bugfixes:
- Fixed the listing of bookmarks for all open buffers.
- Fixed "Enclose as XML Tags" with multiple selections.
- Fixed clearing of "Replace" entry in Find & Replace pane on reset in the GUI.
- Fixed lack of statusbar updating when setting options like buffer EOL mode,
indentation, and encoding from the menu. - Do not clear highlighting when searching inside the "Find in Files" buffer.
textadept.editing.strip_trailing_spaces
should not apply to binary files.- Handle recursive symlinks in
lfs.walk()
. - Modules: Fixed Lua debugger crash when inspecting variables with very large
string representations. - Modules: Support non-UTF-8 spelling dictionaries.
- Modules: Fixed YAML syntax checking notification.
- Modules: Fixed various small issues with the C debugger.
Changes:
- New
textadept.history
module. - Updated German and Russian translations.
- Added
ui.command_entry.append_history()
for special command entry modes
that need to manually append history. - Implement
U
,L
,u
, andl
case transformations in regex
replacements. - Added
textadept.run.set_arguments()
. - Modules: Each module in the separate modules download has its own repository
now, but all are still bundled into a single archive for release. - Modules: Greatly improved the speed of file comparison.
- Modules: Added ability to switch spelling dictionaries on the fly.
- Updated to CDK 5.0-20200923.
- Updated to LuaFileSystem 1.8.0.
11.0_beta
Textadept 11.0 beta (01 Oct 2020)
Please see the 10 to 11 migration guide for upgrading from Textadept 10 to
Textadept 11.
Download:
- Textadept 11.0 beta -- Win32
- Textadept 11.0 beta -- Mac OSX 10.7+
- Textadept 11.0 beta -- Linux
- Textadept 11.0 beta -- Modules
Bugfixes:
- Fixed word left/right key bindings on macOS.
- Fixed regression with showing "No results found" in searches.
- Fixed regression in showing images in Lua command entry completions.
- Fixed restoration of Replace entry text in various instances, such as after
"Find in Files" and "Replace All". - Prevent infinite loops when highlighting found text.
- Fixed bugs in
events.KEYPRESS
handlers when command entry is active. - Fixed bug in "Find in Files" results highlighting when jumping to a result of
length 1. - Fixed emission of
events.UPDATE_UI
when resuming from terminal suspend. - Fixed initial query of
ui.find.find_text
andui.find.repl_text
in the
terminal version. - Fixed incorrect CSS key prefix incompatibility notice.
- Fixed error reporting the number of zero-length find results.
- Fixed call tip display in the terminal version.
- Always refresh during incremental find in the terminal version.
- Fixed
io.quick_open()
doing nothing when file limit was exceeded. - gtDialog: Fixed potential crash when canceling a running progressbar dialog.
- Scintilla: Fixed position of marker symbols for
view.MARGIN_RTEXT
which were
being moved based on width of text. - Scintilla: Fixed hover indicator appearance when moving out of view.
- Scintilla: Fixed display of
buffer.INDIC_TEXTFORE
and gradient indicators on
hover.
Changes:
- Rewrote manual and updated lots of other documentation and documentation
generation pipeline. - Prefer passing an environment table to
os.spawn()
. - Updated find & replace key bindings.
- Use comma-separated patterns in find & replace pane's "Filter" field.
- Removed "View EOL" menu item, key binding, and buffer setting.
- Accept a directory as a command line argument.
- Save the current working directory to session files.
- "View > Toggle Fold" toggles folding for the current block, regardless of
line. - Recognize Fossil projects.
- Added
textadept.editing.auto_enclose()
for auto-enclosing selected text. - Show "Match X/Y" in statusbar when searching for text.
- Added
ui.command_entry.active
. - Improved handling of print buffers and splits.
- Added "Edit > Preferences" menu item and key binding for opening
~/.textadept/init.lua. - Disable
ui.find.highlight_all_matches
by default. - GCC 7.1+ is now required for building, added support for
building with Docker, and dropped automated Linux i386 builds. - Added
events.FIND_RESULT_FOUND
. - Added
ui.find.active
and prevent word highlighting when searching. - Added support for jq language.
- Record directory in "Find in Files" searches.
- Added
ui.update()
, mainly for unit tests. - Added
events.FILE_BEFORE_RELOAD
andevents.FILE_AFTER_RELOAD
events, and save/restore bookmarks. - Added
events.COMMAND_TEXT_CHANGED
for when command entry text changes. - Added
_NOCOMPAT
option to disable temporary key shortcut compatibility
checking. - Updated Spanish translation.
- gtDialog: Improved responsiveness for huge lists (greater than 10,000 items).
- Scintilla: Added
view.multi_edge_column
. - Updated to Scintilla 4.4.5.
- Switched back to utilizing Scintillua and Scinterm.
11.0 alpha 3
(01 Aug 2020)
Please see the 10 to 11 migration guide for upgrading from Textadept 10 to
Textadept 11.
Bugfixes:
- Fixed toggling of Find & Replace Pane visibility with
ui.find.focus()
. - Fixed potential hangs with
os.spawn()
in the terminal version. - Fixed
--line
command line switch. - Fixed
ui.dialogs.optionselect()
'stext
option. - Call
os.spawn()
exit callback afterproc:wait()
. - Fixed an instance of buffer selection data not being saved to a session.
- Fixed initial setting of
ui.find.replace_entry_text
in the GUI. - Fixed
keys.keychain[i]
access if its length ever exceeded 1. - Modules: Fixed custom Lua regex for generating Ctags.
- Modules: Fixed file comparison colors in the terminal version.
- Modules: Fixed many bugs in file comparison and merging.
- Modules: Fixed export of styles defined only in lexers.
- Scintilla: Fixed crash when lexer.lua cannot be found.
- Scintilla: Fixed crash when setting a style with no token.
Changes:
- Renamed
buffer:set_theme()
toview:set_theme()
. - Replaced
lfs.dir_foreach()
withlfs.walk()
generator. - Renamed some buffer/view fields to use American English instead of Australian
English (e.g. "colour" to "color"). - Changed key binding modifier keys from
c
(Ctrl),m
(Meta/Command),a
(Alt), ands
(Shift) toctrl
,meta
/cmd
,alt
, andshift
,
respectively. - Renamed
ui.bufstatusbar_text
toui.buffer_statusbar_text
. - Only save before compile/run if the buffer has been modified.
- Added support for Fennel.
- Added
buffer:style_of_name()
as an analogue tobuffer:name_of_style()
. - When requiring modules, read from
LUA_PATH
andLUA_CPATH
environment
variables instead ofTA_LUA_PATH
andTA_LUA_CPATH
. ui.goto_file_found()
andtextadept.run.goto_error()
arguments are now
optional.- Moved Find Incremental into the Find & Replace pane (via
ui.find.incremental
), eliminatedui.find.find_incremental()
and
ui.find.find_incremental_keys
, and addedevents.FIND_TEXT_CHANGED
. - Replaced
textadept.editing.highlight_word()
with
textadept.editing.highlight_words
auto-highlighting option. - Find & Replace Pane now allows file filters to be specified for Find in Files.
- Use monospaced font in Find & Replace Pane text entries.
- Removed legacy "refresh syntax highlighting" feature.
- Modules: Added documentation for generating ctags and API files.
- Modules: Improved in-place editing of files during comparison.
- Scintilla: added
lexer.colors
andlexer.styles
tables for use in
themes. Also added new way to define and reference styles. - Scintilla: Added
lexer.fold*
options instead of setting view properties. - Scintilla: Optimized performance when opening huge files.
- Scintilla: Added
buffer.eol_annotation_text
analogue to
buffer.annotation_text
, but for EOL annotations. - Scintilla: Display DEL control characters like other control characters.
- Scintilla: Allow caret width to be up to 20 pixel.
- Scintilla: Updated markdown and C lexers.
- Scintilla: Fixed bug with GTK on recent Linux distributions where underscores
were invisible. - Scintilla: Fixed GTK on Linux bug when pasting from closed application.
- Updated to Scintilla 3.21.0.
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.