[code] [textadept] Textadept 9.0 alpha

From: Mitchell <m.att.foicica.com>
Date: Fri, 1 Jul 2016 09:54:32 -0400 (EDT)

Hi,

Textadept 9.0 alpha is released from http://foicica.com/textadept

Textadept 9 introduces minor API changes (mostly renames of existing
functions and fields) along with some backwards-incompatible
simplifications of key commands, menu commands, and language module
handling.

Please see the 8 to 9 migration guide[1] for upgrading from Textadept 8 to
Textadept 9.

Bugfixes:

  * 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

Cheers,
Mitchell

[1]: http://foicica.com/textadept/manual.html#Textadept.8.to.9

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Fri 01 Jul 2016 - 09:54:32 EDT

This archive was generated by hypermail 2.2.0 : Sat 02 Jul 2016 - 06:47:47 EDT