mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-07 00:35:39 +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:
1 parent
d1c40196e3
commit
fd95c729d5
2 files changed
+81
-78
No files matched your search
+2
-1
@@ -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