Re: [code] [textadept] Textadept 10.0 alpha

From: Pedro Andres Aranda Gutierrez <paaguti.att.gmail.com>
Date: Tue, 2 Jan 2018 18:41:59 +0100

Happy New Year to everyone:

Nice code. I'm running it on XUbuntu 16.04 clean from compilation and have
experienced no problems so far.
Being extremely itchy I'd just complain about a quirk:

In my init code, I have the following to be able to move between pre9.7 and
post9.7:

--
-- Prepare transition for 9.7
--
set_theme = (ui.set_theme ~= nil) and ui.set_theme or buffer.set_theme
to use the right set_theme function:
  set_theme(
    ftheme,
    {
      font = fname,
      fontsize = fsize,
      ['style.linenumber'] = lnstyle,
    })
since ui.set_theme doesn't actually called, the set-theme warning looks
just a little overkill ;-)
Best, /PA
On 1 January 2018 at 05:19, Mitchell <m.att.foicica.com> wrote:
> Happy New Year!
>
> Textadept 10.0 alpha is released from http://foicica.com/textadept/C
> HANGELOG.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.
>
>
-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellet zu werden
Georg Kreisler
-- 
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 Tue 02 Jan 2018 - 12:41:59 EST

This archive was generated by hypermail 2.2.0 : Wed 03 Jan 2018 - 06:45:38 EST