textadept

Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor for programmers.

MIT License

Stars
604

Bot releases are hidden (Show)

textadept - 11.0 alpha 3

Published by orbitalquark about 4 years ago

(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()'s text option.
  • Call os.spawn() exit callback after proc: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() to view:set_theme().
  • Replaced lfs.dir_foreach() with lfs.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), and s (Shift) to ctrl, meta/cmd, alt, and shift,
    respectively.
  • Renamed ui.bufstatusbar_text to ui.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 to buffer:name_of_style().
  • When requiring modules, read from LUA_PATH and LUA_CPATH environment
    variables instead of TA_LUA_PATH and TA_LUA_CPATH.
  • ui.goto_file_found() and textadept.run.goto_error() arguments are now
    optional.
  • Moved Find Incremental into the Find & Replace pane (via
    ui.find.incremental), eliminated ui.find.find_incremental() and
    ui.find.find_incremental_keys, and added events.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 and lexer.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.
textadept - 11.0 alpha 2

Published by orbitalquark about 4 years ago

(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 and spawn_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:

textadept - 11.0 alpha

Published by orbitalquark about 4 years ago

(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 and msgbox
    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[] with buffer:name_of_style().
  • Session files are now Lua data files; old formats will no longer work.
  • Added events.SESSION_SAVE and events.SESSION_LOAD events for
    saving and loading custom user data to sessions.
  • Removed ~/.textadept/?.lua and ~/.textadept/?.{so,dll} from package.path
    and package.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 to keys.mode.
  • Moved individual buffer functions in io into buffer.
  • Event handlers can now return any non-nil value instead of a boolean value
    and have that value passed back to events.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 and Down keys.
  • Added ui.dialogs.progressbar(), utilize it with Find in Files, and
    removed ui.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.
textadept - 10.8

Published by orbitalquark about 4 years ago

(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.