9e5dc7de01
revert most of r52820 (patch to fix [ #33452 ]), this caused a regression in text stepping when ctrl is held.
...
This adds back the problem that double-clicking on a single char wont select it. Double click selection may need its own logic.
2012-12-10 02:06:26 +00:00
f795e1cfd2
style cleanup
2012-12-09 05:15:21 +00:00
78c7951463
patch [ #33452 ] Double click select does not work properly + patch
...
from Tobias Johansson (mutze)
with some minor edits (don't treat '!' as an operator - python centric)
2012-12-09 03:57:10 +00:00
232571c61a
code cleanup: replace macro for BLI_rect size/center with inline functions.
2012-09-15 11:48:20 +00:00
435679b4b0
Word selection in the Text Editor:
...
* Fix word selection for words with multibyte characters. No need to call txt_move_left() or txt_move_right(), because these functions work with symbols, not bytes
* Word selection now treats tabs the same way as spaces. Also useful for words with multibyte characters
2012-04-30 13:14:15 +00:00
7afeb21a41
text delimiter - convert to unicode before comparing characters.
2012-03-12 00:03:42 +00:00
cae11a98f9
style cleanup
2012-03-11 23:47:41 +00:00
89a963fb7f
style cleanup: comment blocks
2012-03-09 18:28:30 +00:00
4f7bdc59d3
style cleanup: spelling.
...
also remove large, duplicate comments from sunsky.h
2012-03-09 00:41:09 +00:00
c78f02d990
edit to cursor adjustment, use int rather then short to store the cursor position.
2012-03-07 16:24:25 +00:00
00781668ce
Unify string stepping delimiter code for text buttons, text editor and console (all had duplicate code).
...
this is also a step toward the console working with utf8 though many todo's remain.
2012-03-07 15:55:12 +00:00