1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-11 11:15:55 +01:00

Enhanced the cursor positioning/selecting text using the mouse in a textfield.

This also fixed an endless loop that could be entered by the previous code
in certain situations, after the patch to fix navigation/selection in a
textfiled with UTF8 chars was applied.
This commit is contained in:
dan
2006-04-27 02:48:18 +00:00
parent 577b3ee949
commit ecd5217633
2 changed files with 32 additions and 13 deletions

View File

@@ -572,6 +572,7 @@ testTextField(WMScreen *scr)
field = WMCreateTextField(win);
WMResizeWidget(field, 200, 20);
WMMoveWidget(field, 20, 20);
WMSetTextFieldText(field, "the little \xc2\xa9 sign");
field2 = WMCreateTextField(win);
WMResizeWidget(field2, 200, 20);