mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 03:40:16 +02:00
implement break_wide
for more pleasant east asian mixed display
This commit is contained in:
parent
7fd3c1f50a
commit
876c1dd93e
3 changed files with 21 additions and 4 deletions
|
|
@ -59,6 +59,7 @@ struct _TEXT_BUFFER_VIEW_REC {
|
|||
unsigned int longword_noindent:1;
|
||||
unsigned int scroll:1; /* scroll down automatically when at bottom */
|
||||
unsigned int utf8:1; /* use UTF8 in this view */
|
||||
unsigned int break_wide:1; /* Break wide chars in this view */
|
||||
|
||||
TEXT_BUFFER_CACHE_REC *cache;
|
||||
int ypos; /* cursor position - visible area is 0..height-1 */
|
||||
|
|
@ -97,6 +98,8 @@ void textbuffer_view_set_default_indent(TEXT_BUFFER_VIEW_REC *view,
|
|||
int longword_noindent,
|
||||
INDENT_FUNC indent_func);
|
||||
void textbuffer_views_unregister_indent_func(INDENT_FUNC indent_func);
|
||||
void textbuffer_view_set_break_wide(TEXT_BUFFER_VIEW_REC *view,
|
||||
gboolean break_wide);
|
||||
|
||||
void textbuffer_view_set_scroll(TEXT_BUFFER_VIEW_REC *view, int scroll);
|
||||
void textbuffer_view_set_utf8(TEXT_BUFFER_VIEW_REC *view, int utf8);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue