mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 16:00:18 +00:00
xtext: Add word and line selection modes
Similar to a GtkTextView if you double click you enter word selection mode and if you triple click you enter line selection mode. Allowing you to drag and select more than a single character. Closes #1108
This commit is contained in:
@@ -216,7 +216,8 @@ struct _GtkXText
|
||||
|
||||
/* various state information */
|
||||
unsigned int moving_separator:1;
|
||||
unsigned int word_or_line_select:1;
|
||||
unsigned int word_select:1;
|
||||
unsigned int line_select:1;
|
||||
unsigned int button_down:1;
|
||||
unsigned int hilighting:1;
|
||||
unsigned int dont_render:1;
|
||||
|
||||
Reference in New Issue
Block a user