[code] [textadept] Textadept 10.0 alpha

From: Mitchell <m.att.foicica.com>
Date: Sun, 31 Dec 2017 23:19:43 -0500 (EST)

Happy New Year!

Textadept 10.0 alpha is released from http://foicica.com/textadept/CHANGELOG.html

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

The biggest changes that will likely affect users are that `ui.set_theme()` has
been renamed to `buffer.set_theme()`, and *~/.textadept/properties.lua* is no
longer read -- its contents should be moved into *~/.textadept/init.lua*.
Textadept will attempt to notify you if it detects either of these legacy
settings.

Another substantial change behind the scenes is that lexers are now written in
an object-oriented way[2]. While the old lexer format is still supported, it is
not encouraged (nor is it documented any longer).

Bugfixes:

  * 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`.

Cheers,
Mitchell

[1]: https://foicica.com/textadept/manual.html#Textadept.9.to.10
[2]: https://foicica.com/textadept/api.html#lexer

-- 
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 Sun 31 Dec 2017 - 23:19:43 EST

This archive was generated by hypermail 2.2.0 : Mon 01 Jan 2018 - 06:40:40 EST