[code] [textadept] Textredux 1.0.0

From: Robert Gieseke <rob.g.att.web.de>
Date: Tue, 24 Jun 2014 12:43:00 +0200

Hi,

Textredux, the module for text-based user interfaces, version 1.0.0 is out!

Links:
------

http://rgieseke.github.io/textredux/
http://rgieseke.github.io/textredux/tour.html
https://github.com/rgieseke/textredux

You can get it as a zip from
https://github.com/rgieseke/textredux/releases/tag/v1.0.0
or run `git pull` in your local checkout.

Necessary changes in your `init.lua`:
-------------------------------------
Load the `hijack` functionality now as

     require('textredux').hijack()

You can remove the wrapping waiting for `events.INITIALIZED`, just make
sure you set a custom theme *before* requiring Textredux to pick up the
new colors, e.g.

     ui.set_theme('solarized')
     local textredux = require('textredux')
     keys.cg = textredux.ctags.goto_symbol

Changelog:
----------

- Hijack is now a function, no longer a module
- Waiting for events.INITIALIZED is no longer necessary when requiring
Textredux
- Keys use Textadept's keys.MODE under the hood
- Removed support for on_keypress events
- Add support for on_char_added events, see list.lua for an example
- Removed (flaky) support for modifiers on key presses and mouse clicks
- Removed reduxbuffer.newline function
- Hide Textadept's line numbers in Textredux buffers
- All Textredux buffers can be closed with Esc by default
- Indicators and styles are now set using an apply function bound to
each table
- The Ctags list colorises the kind of symbol (class, function, …)
- The current search is kept when toggling between snapopen and
directory view
- In lists scrolling is limited to the selectable items
- The search in lists can be reset using Ctrl/Alt/Meta-Backspace

Cheers,
Robert

-- 
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 24 Jun 2014 - 06:43:00 EDT

This archive was generated by hypermail 2.2.0 : Tue 24 Jun 2014 - 06:50:42 EDT