All the Irssi bugs should go here, please select the proper version when reporting the bug.
Please see the Irssi core http://www.irssi.org/ChangeLog for recent updates.
Please see the Irssi core http://www.irssi.org/ChangeLog for recent updates.
FS#621 - [PATCH] Color support for "gui_entry" to allow better spellcheckers.
Attached to Project:
Irssi core bugs
Opened by Jonas Hurrelmann (jott) - Monday, 08 September 2008, 19:09 GMT+2
Opened by Jonas Hurrelmann (jott) - Monday, 08 September 2008, 19:09 GMT+2
|
DetailsThis patch adds color support to the "gui_entry" input line.
It does so, by assigning a color to each character. The color is stored in a GUI_ENTRY_REC as int *colors. To use the functionality, I added the method: void gui_entry_set_color(GUI_ENTRY_REC *entry, int pos, int len, int color); On top of this, for the Perl bindings I added: gui_input_color(pos, len, color) I am not sure about exact naming conventions, but this would be trivial to change anyway. The main purpose for now (and my main motivation) is to provide better support for spellcheckers by marking misspelled words. See http://outpo.st/irssi/spellcheck.pl for an implementation based on the original script by Jakub Jankowski. |
This task depends upon
color_support_for_gui_entry.d...