What's new in Textadept 10.8
Jan 3, 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.
New in Textadept 10.7 (Jan 3, 2020)
- Bugfixes:
- Fixed scroll issues when toggling line wrap.
- Properly handle absolute paths in run/compile/build output and also case-insensitivity on Windows.
- Restore virtual space state when switching between buffers.
- Restore rectangular selection state when switching between buffers.
- Fixed opening of non-UTF-8-encoded filenames dropped into a view.
- Fixed macro toggling with some key combinations.
- Ensure events.BUFFER_AFTER_SWITCH is emitted properly during buffer.new().
- Prevent double-counting fold points on a single line.
- Changes:
- Refactored “Replace All” to be more performant.
- Added back textadept.editing.paste_reindent() as a separate menu/key/command from buffer.paste().
- Enabled all theme colors by default, and changed line number color in the terminal version.
- Replaced ui.command_entry.enter_mode() and ui.command_entry.finish_mode() with simplified ui.command_entry.run().
- Added ui.find.find_incremental_keys table of key bindings during “Find Incremental” searches.
- Replaced textadept.macros.start_recording() and textadept.macros.stop_recording() with textadept.macros.record().
- Updated C, Rust, Prolog, and Logtalk lexers.
- Added MediaWiki lexer.
- Scintilla: Updated case conversion and character categories to Unicode 12.1.
- Updated to Scintilla 3.11.1.
New in Textadept 10.6 (Sep 2, 2019)
- Bugfixes:
- Fail more gracefully when users attempt to create buffers on init.
- Improve caret sticky behavior when switching between buffers.
- Do not auto-indent when pressing enter at the start of a non-empty line.
- Scintilla: Fix deletion of isolated invalid bytes.
- Scintilla: Fix position of line caret when overstrike caret is set to block.
- Changes:
- Use CP1252 encoding instead of ISO-8859-1.
- Added support for ksh and mksh.
- Updated to Scintilla 3.11.0.
New in Textadept 10.5 (Jul 1, 2019)
- Bugfixes:
- Do not advance the caret on failed incremental find.
- Fixed bug with filters that have extension includes and pattern excludes
- Changes:
- Added case-insensitive option to textadept.editing.show_documentation().
- Updated the default window size and some default dialog sizes.
- Updated Markdown lexer.
- Improved C++ lexer to support single quotes in C++14 integer literals.
- Scintilla: Improved performance opening and closing large files with fold points.
- Scintilla: Tweaked behavior of buffer.style_case’s buffer.CASE_CAMEL option to treat only letters as word characters.
- Updated to Scintilla 3.10.6.
New in Textadept 10.4 (May 1, 2019)
- Bugfixes:
- Fixed scrolling found text into view on long lines.
- Fixed crash on Mac with malformed regex patterns.
- Changes:
- Recognize .vue and .yml file extensions.
- Line number margin grows for large files as needed.
- Do not emit events.SAVE_POINT_LEFT event for unfocused views.
- Updated CSS lexer to support CSS3.
- Updated YAML lexer.
- Updated to Scintilla 3.10.4.
- Updated to LuaFileSystem 1.7.0 and LPeg 1.0.2.
New in Textadept 10.3 (Mar 1, 2019)
- Bugfixes:
- Fixed block comment support for Nim.
- Fixed escaping of newlines (n) in Lua and C API documentation.
- Changes:
- Version control markers like .git are not limited to directories.
- Allow redefinition of WGET in Makefile for
- Updated to Scintilla 3.10.2.
New in Textadept 10.2 (Nov 2, 2018)
- Bugfixes:
- Fixed error when performing “select enclosed” on a non-ASCII character.
- Fixed regression of Retina display support of Mac OSX.
- Fixed key handling on some international keyboards.
- Fixed tab labels not updating when loading message buffers from a session.
- Fixed potential crashes in string.iconv() with tiny strings.
- Fixed inability to resize one split view configuration with the mouse in the terminal version.
- Changes:
- Renamed spawn() to os.spawn().
- os.spawn() now allows omission of cwd and env parameters.
- spawn_proc:wait() returns the process' exit code.
- textadept.editing.filter_through() halts on non-zero status instead of clobbering the buffer or selected text.
- Removed textadept.editing.paste() and textadept.editing.paste_reindents option; Textadept no longer reindents pasted text by default.
- Experimentally added textadept.macros module for recording, playing, saving, and loading keyboard macros.
- Scintilla: Improve efficiency of idle wrapping.
- Scintilla: Updated case conversion and character categories to Unicode 11.
- Scintilla: Updated ConTeXt, HTML, and Markdown lexers.
- Updated to Scintilla 3.10.1.
New in Textadept 10.1 (Nov 2, 2018)
- Bugfixes:
- Fixed view focus synchronization issues when dropping files into split views.
- Fixed potential crash with non-UTF-8 bytes copy-pasted into non-UTF-8 buffer.
- spawn_proc:read() correctly handles rn sequences.
- Changes:
- Added ability to save/restore persistent data during a reset event via events.RESET_BEFORE and events.RESET_AFTER.
- Replaced ui.find.find_in_files_filter with ui.find.find_in_files_filters table for project-specific filters.
- Added Chinese localization.
- Updated to GTK 2.24.32 on Windows, which fixes a number of various GTK-related issues.
New in Textadept 10.0 (Jul 28, 2018)
- Bug fixes:
- Fixed unset lexer bug upon splitting a newly created buffer.
- Fixed a potential infinite loop with “replace in selection”.
- Fixed crash on Mac OSX with regex searches.
- Fixed selection of “find in files” result if it’s at the start of the line.
- Properly handle abbreviated setting of write-only buffer properties via command entry.
- Changes:
- Removed bit32 module in favor of Lua’s bitwise operators.
- Makefile can be used to build on case-insensitive filesystems.
- Interpret uXXXX sequences in regex replacement text.
New in Textadept 10.0 Beta 2 (Jun 1, 2018)
- Bug fixes:
- Fixed unset lexer bug upon splitting a newly created buffer.
- Fixed a potential infinite loop with "replace in selection".
- Fixed crash on Mac OSX with regex searches.
- Fixed selection of "find in files" result if it's at the start of the line.
- Properly handle abbreviated setting of write-only buffer properties via command entry.
- Changes:
- Removed `bit32` module in favor of Lua's bitwise operators.
- Makefile can be used to build on case-insensitive filesystems.
- Interpret `uXXXX` sequences in regex replacement text.
New in Textadept 10.0 Beta (May 1, 2018)
- Bug fixes:
- Fixed incorrect style settings when splitting views.
- Fixed restoration of vertical scroll for buffers with different line heights.
- Fixed potential crash in terminal version with newer versions of ncurses.
- Changes:
- Change SQL comments to use `--` instead of `#`.
- Updated Textadept icon.
- Minimum required Mac OSX version is now 10.6 (Snow Leopard) or higher.
- Removed LuaJIT version of Textadept.
New in Textadept 10.0 Alpha 2 (Mar 1, 2018)
- Bug fixes:
- Fixed clang build warnings/errors regarding LuaJIT.
- Fixed busy wait in second instance of Textadept on Windows.
- Fixed bug in remote-controlled Textadept when no arguments were initially given.
- Fixed session loading when only it is provided as a command line argument.
- Fixed copy-paste between views in the terminal version.
- Fixed crash when attempting to show a badly-encoded filename in the titlebar.
- Scintilla: Fixed double-click word selection on Windows 10.
- Scintilla: Fixed rectangular and line modal selection movements.
- Changes:
- Added fold.compact buffer property.
- Added buffer.move_extends_selection for enhanced modal keyboard movement.
- Auto-detect UTF-16-encoded files automatically.
- Save to the loaded session on quit and removed the textadept.session.default_session option.
- Various Makefile improvements.
- The terminal version can immediately focus on a clicked split view.
- Textadept only minimally supports GTK3 now – it still compiles, but deprecated function calls have not been, and will not be migrated.
- The terminal key sequence for Ctrl+Space is now 'c ' instead of 'c@'.
- The terminal version can now remap ^H (which was previously locked to Backspace).
- Scintilla: Theoretical support for files larger than 2GB in size on 64-bit machines (but this is not recommended or encouraged).
New in Textadept 10.0 Alpha (Jan 6, 2018)
- Bug fixes:
- Scintilla: Fixed a couple of wrapped line drawing cases.
- Scintilla: Ensure overtype caret is drawn when manually set.
- Scintilla: Fixed some instances of incorrect scrollbar drawing and flickering.
- Scintilla: Fixed line selection when clicking in the margin when scrolled.
- Changes:
- Textadept requires GTK 2.24 (circa early-2011) or greater.
- Pasted text is reindented by default via textadept.editing.paste(), and is configured with textadept.editing.paste_reindents.
- Replaced textadept.editing.match_brace() with a menu function, enhanced textadept.editing.select_enclosed() behavior, and removed redundant “Select in …” menu items.
- Removed the need for ~/.textadept/properties.lua. All buffer settings set in ~/.textadept/init.lua will apply to the first and subsequent buffers.
- Renamed ui.set_theme() to buffer.set_theme().
- Enforce extra argument to buffer.brace_match() added back in Scintilla 3.7.0.
- Added events.ZOOM.
New in Textadept 9.6 (Nov 1, 2017)
- Bug fixes:
- Regular expressions consider r to be a newline character.
- Fixed block comments for APDL.
- Changes:
- Scintilla: Block caret appears after selection end instead of on it. (Reverts change from Textadept 9.3)
New in Textadept 9.5 Beta (Jul 1, 2017)
- Bug fixes:
- Fixed bug that deleted characters outside of mangled snippets.
- Fixed start-anchored "Find Prev" regex searches.
- Correctly handle multiple '!'-prefixed patterns in file filters.
- Scintilla: Pressing `Esc` while rectangular selection is active does not collapse it.
- Changes:
- Changed "Cancel Snippet" keybinding from `Ctrl+Shift+K` (`⌥⇧⇥` on Mac OSX | `M-S-K` in curses) to `Esc`.
- Added [`buffer.caret_line_frame`][] option for outlining the current line.
- Added [`buffer:line_reverse()`][] for reversing selected lines.
- Added [`ui.dialogs.colorselect()`][] and [`ui.dialogs.fontselect()`][] dialogs.
- Handle pipes in shell commands for [filter-through][].
- The [Lua command entry][] prints results like Lua 5.3's interactive prompt (e.g. no need for explicit '=' prefix).
- The Lua command entry now invokes bare functions as commands (e.g. `copy` invokes `buffer:copy()`, `split` invokes `view:split()`, etc.).
- Scintilla: Updated case conversion and character categories to Unicode 9.
- Scintilla: Update scroll bar when annotations are added, removed, or changed.
- Effectively updated to [Scintilla][] 3.7.5.
New in Textadept 9.4 (May 1, 2017)
- Bug fixes:
- Fixed some C++ and Moonscript file associations.
- Fixed some bugs in “Replace All”.
- Fixed some instances of snippet insertion with selected text.
- Fixed make install for desktop files and icons.
- Scintilla: Fixed crash in edge-case for fold tags (text shown next to folds).
- Scintilla: Fixed stream selection collapsing when caret is moved up/down.
- Scintilla: Fixed bugs in fold tag drawing.
- Scintilla: Fixed crash in GTK accessibility (for screen readers) code.
- Scintilla: Only allow smooth scrolling in Wayland.
- Scintilla: Fixed popup positioning on a multi-monitor setup.
- Changes:
- Added support for Logtalk.
- Scintilla: Accessibility improvements including the ability to turn it off.
- Effectively updated to Scintilla 3.7.4.
New in Textadept 9.3 (Mar 1, 2017)
- Bug fixes:
- Improved LuaJIT compatibility with 3rd-party modules.
- Do not move over selected typeover characters.
- Fixed “Match Case” toggling during “Regex” searches.
- Fixed building from the source when dependencies are updated.
- Fixed folding in multiple-language lexers.
- Fixed accidental editing of cached lexers.
- Scintilla: Minimize redrawing for buffer.selection_n_* settings.
- Scintilla: Fixed individual line selection in files with more than 16.7 million lines.
- Scintilla: Various accessibility fixes for GTK on Linux.
- Scintilla: Fixed a couple of folding regressions.
- Scintilla: Fixed various issues on GTK 3.22.
- Scintilla: Fixed inability to extend selection up or down in stream selection mode.
- Changes:
- Lexer initialization errors are printed to the Message Buffer.
- Updated Polish locale.
- Updated C, C++, Scheme, Shell, and JavaScript lexers.
- Added support for rc and Standard ML.
- Scintilla: Block caret appears on selection end instead of after it.
- Updated to Scintilla 3.7.3.
- Updated to Lua 5.3.4.
New in Textadept 9.2 (Dec 23, 2016)
- Bug fixes:
- Scintilla: Fixed crash when destroying Scintilla objects.
New in Textadept 9.1 (Dec 12, 2016)
- Bug fixes:
- Fixed bug in find/replace with consecutive matches.
- Fixed encoding detection for encodings with NUL bytes (e.g. UTF-16).
- Fixed duplicate entries in io.recent_files when loading sessions.
- Scintilla: Fixed caret placement after left or right movement with rectangular selection.
- Scintilla: Fixed GTK 3 incorrect font size in auto-completion list.
- Scintilla: Fixed various minor GTK bugs.
- Changes:
- Added support for Protobuf and Crystal.
- On Linux systems that support it, make install installs .desktop files too.
- Removed MacRoman encoding detection and options.
- Scintilla: Character-based word selection, navigation, and manipulation.
- Scintilla: Added buffer.EDGE_MULTILINE, buffer:multi_edge_add_line(), and buffer:multi_edge_clear_all() for multiple edge lines.
- Scintilla: Added buffer.MARGIN_COLOUR and buffer.margin_back_n for setting arbitrary margin background colors.
- Scintilla: Added buffer.margins for more margins.
- Scintilla: Added accessibility support for GTK on Linux.
- Scintilla: Added buffer:toggle_fold_display_text() and buffer.fold_display_text_style for showing text next to folded lines.
- Scintilla: Added new buffer.INDIC_POINT and buffer.INDIC_POINTCHARACTER indicators.
- Scintilla: Added buffer.tab_draw_mode for changing the appearance of visible tabs.
- Scintilla: Margin click line selection clears rectangular and multiple selection.
- Updated to Scintilla 3.7.1.
New in Textadept 9.0 (Oct 1, 2016)
- Bug fixes:
- Better error handling with “filter-through”.
- Fixed error in building projects.
- Better handling of key bindings on international keyboards.
- Scintilla: Respect indentation settings when inserting indentation within virtual space.
- Scintilla: Fixed bug with expanding folds.
- Scintilla: Fix GTK 3 runtime warning.
- Changes:
- Added TaskPaper lexer.
- Scintilla: Added buffer.VS_NOWRAPLINESTART option to buffer.virtual_space_options.
- Updated to Scintilla 3.6.7.
New in Textadept 9.0 Beta (Sep 2, 2016)
- Bug fixes:
- Fixed potential bug with events.disconnect().
- Fixed potential infinite loop with “Replace All” in selection.
- Fixed passing of quoted arguments to OSX ta script.
- Fixed CapsLock key handling.
- Fixed button order in the terminal version’s dialogs.
- Fixed potential crash on Windows with textadept.editing.filter_through() and some locales.
- Fixed infinite loop in “Replace All” with zero-length regex matches.
- Changes:
- Added events.TAB_CLICKED event.
New in Textadept 8.7 (Jul 12, 2016)
- Bug fixes:
- Much better UTF-8 support in the terminal version.
- Completely hide the menubar if it is empty.
- Fix building for some BSDs.
- Added some block comment strings for languages lacking them.
- Fixed a number of small encoding issues in various corner cases.
- Fixed bug in textadept.editing.convert_indentation() with mixed indentation.
- Fixed an obscure side-effect that reset buffer properties when working with non-focused buffers.
- Fixed incremental find with UTF-8 characters.
- Fixed bug in session restoration of scroll and caret positions in multiple views.
- Fixed bug where existing files were not closed when a session is loaded.
- Fixed corner case in “replace within selection”.
- Fixed regression for % and %[...] in snippets.
- When executing compile/run commands from a different directory, indicate it.
- Fixed error when showing style popup at the end of a buffer.
- “Find in Files” should not print the contents of binary files.
- Fixed lack of environment in spawned processes on Linux.
- Scintilla: Support longer regexes in searches.
- Changes:
- Support UTF-8 pattern matching in “Lua Pattern” searches by incorporating bits of luautf8.
- Improved efficiency of autocompleting words from all open buffers.
- “Find in Files” defaults to the current project’s root directory.
- Submenus and menu items can be accessed by name. (See textadept.menu.menubar for an example.)
- Only show snippet trigger and text when selecting from a dialog.
- More efficient screen refreshes in the terminal version.
- Save and restore horizontal scroll position when switching buffers.
- The undocumented keys.utils was removed. This will break custom key bindings that depend on it. See this mailing list post for more information.
- The menubar is loaded on events.INITIALIZED now. See the above mailing list post for more information.
- Allow file-specific compile commands and run commands.
- Added new dialog for specifying compile/run command arguments to “Tools” menu.
- textadept.editing.enclose() works with multiple selections.
- Disabled textadept.run.CHECK_SYNTAX by default.
- Updated to lspawn 1.5.
- Updated to Scintilla 3.6.5.
- Updated to Scinterm 1.8.
New in Textadept 9.0 Alpha 2 (Jul 12, 2016)
- Bug fixes:
- Check range bounds for buffer:text_range().
- Fixed inability to properly halt lfs.dir_foreach().
- Changes:
- Replaced Lua pattern searches with regular expressions.
- Added timeout prompt to Find in Files. (10 second default.)
- Better differentiation between Python 2 and 3 run commands.
New in Textadept 9.0 Alpha (Jul 1, 2016)
- Bug fixes:
- Fixed stack overflow when accessing nil keys in textadept.menu.
- Fixed inability to re-encode files incorrectly detected as binary.
- Scintilla: Fixed crash when idle styling is active upon closing Textadept.
- Scintilla: Fixed various bugs on GTK 3.20.
- Lua: Fixed potential crash with four or more expressions in a for loop.
- Changes:
- Renamed io.snapopen() to io.quick_open() and tweaked its arguments, renamed io.SNAPOPEN_MAX to io.quick_open_max, and renamed io.snapopen_filters to io.quick_open_filters.
- Removed BOM (byte order mark) encoding detection. (BOM use is legacy and discouraged.)
- Removed detection and use of extinct r (CR) line endings.
- Removed project support for CVS and assume Subversion v1.8+.
- Key and menu commands must be Lua functions; the table syntax is no longer recognized.
- Renamed lfs.FILTER to lfs.default_filter and tweaked arguments to lfs.dir_foreach().
- Locale files can optionally use # for comments instead of %.
- Renamed ui.SILENT_PRINT to ui.silent_print.
- Renamed all textadept.editing.[A-Z]+ options to their lower-case equivalents and renamed textadept.editing.braces to textadept.editing.brace_matches.
- post_init.lua files for language modules are no longer auto-loaded; use events.LEXER_LOADED to load additional bits instead.
- Renamed ui.find.FILTER to ui.find.find_in_files_filter and added an optional argument to ui.find.find_in_files().
- Renamed all textadept.session.[A-Z]+ options to their lower-case equivalents.
- Removed syntax checking support, renamed textadept.run.RUN_IN_BACKGROUND to textadept.run.run_in_background, removed textadept.run.cwd and textadept.run.proc, added optional arguments to textadept.run.compile(), textadept.run.run(), and textadept.run.build(), and changed the format of textadept.run.error_patterns.
- Rewrote sections 7-9 in the manual and added a new part to section 11. Understanding how to configure and script Textadept should be easier now.
- textadept.editing.goto_line() takes a 0-based line number like all Scintilla functions.
- ui.goto_view() and view:goto_buffer() now take actual view and buffer arguments, respectively, or a relative number.
- Added file-based snippet capabilities.
- Updated to Scintilla 3.6.6.
- Updated to Lua 5.3.3
New in Textadept 8.6 (Mar 1, 2016)
- Bug fixes:
- Prevent silent crash reports from being generated on Mac OSX when child processes fail to be spawned.
- Do not "busy wait" for spawned process stdout or stderr on Mac OSX.
- Fixed bug in escaping ([{< after mirrors in snippets.
- Only change spawned process environment if one was specified on Mac OSX.
- Fixed focus bug in view:goto_buffer() with non-focused view.
- Fixed building the terminal version in debug mode.
- Recognize the weight style property.
- Fixed potential crash with malformed style properties.
- Fixed unlikely buffer overflow in messages coming from Scintilla.
- Fixed potential memory access error when closing Textadept while a spawned process is still alive.
- Fixed bug in setting view properties when restoring sessions with nested splits.
- Changes:
- Added support for APL, Docker, Faust, Ledger, MoonScript, man/roff, PICO-8, and Pure.
- Enabled idle-styling of buffers in the background in the GUI version.
- Undocumented buffer:clear_cmd_key() only takes one argument now.
- Added -v and --version command line parameters.
- Added single-instance functionality on Win32.
- Require GLib 2.28+.
- Added lexer.line_state and lexer.line_from_position() for stateful lexers.
- Updated to lspawn 1.4.
- Updated to Scintilla 3.6.3.
- Updated to Scinterm 1.7.
New in Textadept 8.5 (Jan 2, 2016)
- Bug fixes:
- Fixed some '%' escape sequences in snippets.
- Fixed bug resolving relative paths with multiple '../' components.
- Do not visit buffers that do not need saving in io.save_all_files().
- Fixed various small bugs in snippets.
- Fixed restoration of split view sizes in large windows.
- Lua: Fixed potential crash in io.lines() with too many arguments.
- Changes:
- Allow compile, run, and build commands functions to specify a working directory.
- Added support for SNOBOL4.
- Added support for Icon.
- Added support for AutoIt.
- Updated to Lua 5.3.2.
New in Textadept 8.4 (Nov 11, 2015)
- Bug fixes:
- Various fixes for snippet bugs introduced in the refactoring.
- Fixed S-Tab in Find & Replace pane in the terminal version.
- Do not error when attempting to snapopen a non-existant project.
- Scintilla: fixed height of lines in autocompletion lists.
- Scintilla: fixed bug in buffer:line_end_display().
- Changes:
- Bookmarks are saved in sessions.
- New snippet placeholder for a list of options (%n{list}).
- Snippets can now be functions that return snippet text.
- Added Lua API tags to the "ansi_c" module.
- Updated Swedish translation.
- Added support for Gherkin.
- Scintilla: whitespace can be shown only in indentation.
- Scintilla: optimized marker redrawing.
- Updated to Scintilla 3.6.2.
- Updated to LPeg 1.0.
New in Textadept 8.3 (Oct 1, 2015)
- Bug fixes:
- Stop annoying black box from flashing when saving some files on Win32.
- Fixed bug in parsing Ruby error output.
- Do not emit events.LEXER_LOADED for the command entry.
- Fixed bug with Python syntax checking on Win32.
- Scintilla: fixed bug in buffer:count_characters().
- Scintilla: small GTK fixes.
- Changes:
- Improved API documentation lookup behind the caret.
- Refactored snippets to longer display placeholder text.
- spawn() can now optionally specify the child’s environment.
- Added Gherkin lexer.
- Updated to Scintilla 3.6.1.
New in Textadept 8.2 (Sep 1, 2015)
- Bug fixes:
- Fixed crash when quitting while the command entry is open.
- Block commenting respects indentation levels.
- Handle `typeref` in ansi\_c module's ctags support.
- Do not error when block commenting in an unsupported language.
- Scintilla: fix scrollbar memory leaks.
- Changes:
- Highlight found text in "Find in Files" searches.
- Added Italian translation and updated French translation.
- Added [automatic syntax checking][] as source files are saved, along with [`textadept.run.CHECK_SYNTAX`][] and [`textadept.run.GOTO_SYNTAX_ERRORS`][] configuration fields.
- Scintilla: multiple selection works over more key commands like caret movement, selections, and word and line deletions.
- Scintilla: new [`events.AUTO_C_COMPLETED`][] event for when autocompleted text has been inserted.
- Updated to [Scintilla][] 3.6.0.
New in Textadept 8.1 (Aug 19, 2015)
- Bug fixes:
- Detect #!/usr/bin/env ... properly.
- Fix incorrect menu shortcut key display on Windows.
- Changes:
- Added support for Elixir and Windows Script Files (WSF).
- Added parameter to textadept.editing.select_word() for selecting all occurrences.
- Updated to Scintilla 3.5.7.
- Updated to Lua 5.3.1.
New in Textadept 8.0 (May 6, 2015)
- Bug fixes:
- Fixed filename encoding issues on Windows.
- Changes:
- Added [`textadept.run.RUN_IN_BACKGROUND`][] for shell commands.
New in Textadept 8.0 Beta (Apr 22, 2015)
- Bug fixes:
- Fixed require() bug with lfs and utf8 libraries in LuaJIT version.
- Changes:
- Added symlink filter option for ignoring symlinked files and folders to io.snapopen(), lfs.dir_foreach(), and ui.find.FILTER.
- Updated to Scintilla 3.5.5.
New in Textadept 8.0 Alpha (Apr 2, 2015)
- Bug fixes:
- Ensure events.BUFFER_AFTER_SWITCH is fired before events.BUFFER_DELETED.
- Prevent command line help switches from exiting an open instance of Textadept.
- Changes:
- Upgraded to Lua 5.3, LPeg 0.12.2, lfs 1.6.3, and lspawn 1.2.
- Removed keys.LANGUAGE_MODULE_PREFIX, but left that prefix unused on all platforms.
- textadept.editing.filter_through() now uses spawn().
- Removed long-hand compile and run macros in favor of shorter ones.
- textadept.bookmarks.toggle() accepts an optional line to bookmark.
- Added support for Rust and TOML.
- “Goto Bookmark” now lists bookmarks in all open buffers.
- spawn_proc:kill() can send signals to processes.
- New lexer._FOLDBYINDENTATION field for lexers that fold based on indentation.
New in Textadept 7.9 (Mar 12, 2015)
- Bug fixes:
- Fixed command entry's abbreviated environment to allow functions to return values.
- Fixed accidental firing of "Escape" key on window focus lost.
- Fixed tab stop calculation in the terminal version.
- Changes:
- The following view-specific properties are now considered buffer-specific: "view EOL", "view whitespace", "wrap mode", "margin type", and "margin width"; updated the "Buffer" and "View" menus appropriately.
- Officially supported language modules moved to a new repository.
- Added Fish lexer.
- Merged events.FILE_SAVED_AS into events.FILE_AFTER_SAVE as a new parameter.
- Merged textadept.file_types.shebangs into textadept.file_types.patterns.
- Removed io.boms.
- Updated to Scintilla 3.5.4.
New in Textadept 7.8 (Feb 2, 2015)
- Bug fixes:
- Fixed snippets bug where name matches lexer name.
- Changes:
- Removed language-specific context menus; manipulate textadept.menu.context_menu directly from language modules.
New in Textadept 7.8 Beta 3 (Jan 22, 2015)
- Bug fixes:
- Fixed opening files with network paths on Win32.
- Fixed minor GTK 3 issues.
- Fixed bug in hiding caret when Textadept loses focus.
- Changes:
- Restore ^Z key binding as "undo" if terminal suspend is disabled.
- Added events.SUSPEND and events.RESUME events for terminal suspend and resume.
- Updated to Scintilla 3.5.3.
New in Textadept 7.8 Beta 2 (Jan 12, 2015)
- Bug fxes:
- Improved C module’s ctags lookups and autocompletion.
- Do not select a line when clicking on its first character in the terminal version.
- Fixed some cases of toggling find options via API in the terminal version.
- Changes:
- The terminal version can suspend via ^Z (changed “undo” key binding to M-Z and added additional M-S-Z “redo” binding).
- Added spawn_proc:close() for sending EOF to spawned processes.
- Updated to Scintilla 3.5.2.
New in Textadept 7.8 Beta (Dec 4, 2014)
- Bug fixes:
- Fixed extra space pasting from external Win32 apps.
- Fixed bug in C autocompletion.
- Disable GCC optimizations when compiling with debug symbols.
- Ensure “find in files” is off when activating normal find.
- Fixed return values from ui.dialogs.optionselect().
- The command entry does not hide when the window loses focus.
- Fixed ‘//’ bug when iterating over root directory with lfs.dir_foreach().
- Fixed bug in jumping to compile/run errors and clear annotations before building projects.
- Changes:
- Replaced the command entry text field with a Scintilla buffer and added ui.command_entry.editing_keys for changing the editing keys in all modes.
- Added lexer and height parameters to ui.command_entry.enter_mode().
- Support bracketed paste in the terminal version.
- Allow handling of unknown CSI events.
- Added mouse support for buffers and eliminated many curses incompatibilities.
- Added _G.LINUX and _G.BSD platform flags for the sake of completeness.
- Rectangular selections with the mouse on Linux use the Alt modifier key instead of Super.
- Display the current working directory in fileselect dialogs.
- Added _SCINTILLA.next_image_type() for registering images.
- Added Arabic translation.
- File dialogs in the terminal span the whole view.
- Added basic UTF-8 support for terminal widgets – locales such as Russian now display properly.
- Added UTF-8 input mode for Mac OSX (⌘⇧U) and the terminal version (M-U).
- Show character information in “Show Style” popup.
New in Textadept 7.7 (Oct 2, 2014)
- Bug fixes:
- Fixed corner-case in switching to most recent buffer after closing.
- Fixed find/replace bug when embedded Lua code evaluates to a number.
- Changes:
- Mac OS X GUI version can truly spawn() processes now.
- Updated to Scintilla 3.5.1.
New in Textadept 7.6 (Sep 2, 2014)
- Bug fixes:
- Recognize DEL when emitted by the Backspace key in the terminal version.
- Changes:
- Terminal version can truly spawn() processes now.
- Added Linux .desktop files for menus and launchers.
- Indicate presence of a BOM in the statusbar.
- Switch to previous buffer after closing a buffer.
- More options for lfs.dir_foreach().
- Updated to Scintilla 3.5.0.
New in Textadept 7.5 (Jul 21, 2014)
- Changes:
- New events.FOCUS event for when Textadept's window receives focus.
- Condensed manual and API documentation into single files.
- Added Polish translation.
- Updated to Scintilla 3.4.4.
New in Textadept 3.0 (Jul 6, 2010)
- Bugfixes:
- Fixed Mac OSX paste issue.
- Fixed buffer:text_range() argcheck problem.
- Save buffer before compiling or running.
- Fixed error in the manual for example ~/.textadept/init.lua
- Ignore "file://" prefix for filenames.
- Changes:
- Remove initial 'Untitled' buffer when necessary.
- Moved core extension modules into textadept module.
- New API (see Luadoc: http://caladbolg.net/luadoc/textadept3/index.html)
- An appropriate ~/.textadept/init.lua is created for you if one does not exist.
- No more autoload of ~/.textadept/key_commands.lua and ~/.textadept/snippets.lua
- Updated to Scintilla 2.12.
- Abbreviated Lua commands in the command entry.
- Dynamic command line parameters.
- Added statusbar notification on reset().
- Added Gtkrc, Prolog, and Go lexers.
- _USERHOME comes before _HOME in package.path so require searches ~/.textadept/ first.
- More accurate CSS and Diff lexers.
New in Textadept 2.0 (Oct 30, 2009)
- Bugfixes:
- Fixed bug with reloading PM width from session file.
- Only show a non-nil PM context menu.
- Fixed lsnippets module bug.
- Fixed bug in core/ext/mime_types.lua caused during textadept.reset().
- Close all buffers before loading a session.
- Identify shellscript files correctly.
- D lexer no longer has key-command conflicts.
- Changes:
- Refactored lsnippets module.
- Updated key commands.
- Allow PM modules in the ~/.textadept user directory.
- Added style_whitespace to lexers for custom styles.
- Added standard F3 key command for 'Find Next' for Windows/Linux.
New in Textadept 1.6 (Mar 2, 2009)
- Bugfixes:
- Fixed bookmarks bugs.
- PM browsers are not re-added to the list again on textadept.reset()
- Fixed ctags PM browser bug with filenames.
- Marker colors are set for all views now.
- Fixed never-ending 'reload modified file?' dialog bug.
- Fixed key command for m_snippets.list.
- Fixed issues with _m.textadept.run module.
- Fixed document modification status bug for unfocused split views.
- Fixed filename encoding issues for Windows.
- Updates:
- Added key commands and menu items to navigate 'Find in Files' list.
- The recent_files popup list behaves better.
- Attempt to preserve existing EOL mode for opened files.
- Add dropped directories to the PM browser list.
- Removed 'project' PM browser.
- Multiple character encoding support. (Open, save, convert on the fly.)
New in Textadept 1.5 (Feb 20, 2009)
- Bugfixes:
- Fixed some corner cases in Find in Files user interface.
- Fixed some OSX key command issues for consistency.
- Fixed some key command modifiers for 'enclose in' series.
- Updates:
- Consolidated core/ext/key_commands_{std,mac}.lua into single core/ext/key_commands.lua.
- Can use the Tab and Shift+Tab keys for snippets now.
- Removed support for Textmate-style snippets.
- Load dropped directories into file browser; can toggle showing 'dot' files.
- Prompt for file reload when files are modified outside Textadept.
- Added textadept.context_menu field for right-click inside Scintilla.
- Project Manager cursors are saved and restored. (No more complete loss of state.)
- Only use escape sequences in Lua pattern searches.
- Rewrote modules/textadept/run.lua to be easier to use and configure.
- Find in Files marks the selected line for easier reference.
- Save special buffers in session file (e.g. error buffer, message buffer, etc.)
- Moved mime-types into a configuration file (core/ext/mime_types.conf).
- Moved localization into a configuration file (core/locale.conf).
New in Textadept 1.4 (Feb 11, 2009)
- Bugfixes:
- Handle empty clipboard properly.
- Fixed some widget focus issues.
- Fixed a couple Find in Files bugs.
- Workaround for GTK-OSX pasting issue.
- Updates:
- Added menu options for changing line endings.
- The Project Manager Entry responds better.
- Critical data in the Lua State is more bulletproof (e.g. textadept.buffers, textadept.views, etc.)
- Keep only 10 items in Find/Replace history.
- Special buffers aren't "Untitled" anymore.
- Moved textadept.locale table to the globals table.
New in Textadept 1.3 (Jan 31, 2009)
- Bugfixes:
- Binary files are opened and handled properly.
- Dropped files are now opened in the correct split view they were dropped in.
- Fixed some various GTK-OSX UI issues.
- Fixed a special case of 'Replace All'.
- Clicking 'Ok' closes any error dialogs on init.
- Fixed statusbar glitch when creating new buffers.
- Windows' CR+LF line endings are handled properly.
- Do not go to non-existent buffer index when loading session.
- Do not attempt to open non-existent files when double-clicking error messages.
- Updates:
- Look for ~/.ta_theme for setting Textadept _THEME; _THEME can now be a directory path.
- Themes now contain a lexer.lua for defining lexer colors; modifying them in lexers/themes/ is no longer necessary.
- Added 'Find in Files' support.
- Can set the Project Manager cursor through Lua.
- Look for ~/.ta_modules to load instead of default modules in init.lua.
- Added 'Replace All' for just selected text.
- Removed menu label text in favor of using menu id numbers for menu actions.
- Added Find/Replace history.
- Use a combo entry for the Project Manager browser entry.
- Print messages to a split view instead of switching buffers.
New in Textadept 1.2 (Jan 22, 2009)
- Windows command line support ("Open With Textadept" works too).
- Added new _m.textadept.run module for compiling and running scripts/programs.
New in Textadept Release 6 (Nov 25, 2008)
- Bugfixes:
- Gracefully exit when core/init.lua fails to load.
- Updates:
- Windows support! (finally)
- Theming support (SciTE theme used by default).
- Added textadept.size field; window size is saved in session files.
- Some C++ API-simplifying changes.
- Drag-and-drop files into Textadept works as expected.
- Revised manual.
- Buffer and View properties are no longer set in C++, but Lua through 'buffer_new' and 'view_new' handlers respectively.
- File types can be recognized by pattern matching the first line.