[code] [textadept] Big changes in hg and Textadept 11 plans

From: Mitchell <m.att.foicica.com>
Date: Thu, 26 Mar 2020 20:32:08 -0400 (EDT)


One discrepancy that has always irked me in Textadept is the fact that buffer structure indices (positions, line numbers, countable entities like markers and indicators, etc.) start at 0, while Lua indices start at 1.

Well, I've finally committed the change[1] that makes buffers use 1-based indices wherever applicable, and the change was much smaller and less problematic than I expected. Yes, this fundamental change may cause issues with existing user scripts, but in going through Textadept's internals and a set of modules[2], I've identified common changes and have put them[3] into a migration guide[4] for convenience.

Anyone who frequently pulls from hg, please be aware of potentially breaking changes.

At the end of the month I'd like to make the first alpha release of Textadept 11. There will likely be more alphas that follow, and then at least one beta before final release. I anticipate this process to take a few months minimum. (The Textadept 10 release cycle lasted 8 months from first alpha to final release.)

Let me know if you have any questions or concerns. Textadept 11 is shaping up to be a really great release in my opinion, and I'm excited to be working on it.


[1]: https://foicica.com/hg/textadept/rev/fffe0c8cf0c7
[2]: https://foicica.com/hg/textadept_modules/rev/0b52100e038c
[3]: https://foicica.com/hg/textadept/file/fffe0c8cf0c7/doc/manual.md#l2048
[4]: https://foicica.com/hg/textadept/file/fffe0c8cf0c7/doc/manual.md#l2000

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 Thu 26 Mar 2020 - 20:32:08 EDT

This archive was generated by hypermail 2.2.0 : Fri 27 Mar 2020 - 06:43:53 EDT