projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add Shift detection
[xboard.git]
/
xaw
/
xoptions.c
diff --git
a/xaw/xoptions.c
b/xaw/xoptions.c
index
7e622a7
..
77d7358
100644
(file)
--- a/
xaw/xoptions.c
+++ b/
xaw/xoptions.c
@@
-267,6
+267,10
@@
SelectedListBoxItem (Option *opt)
void
HighlightText (Option *opt, int start, int end, Boolean on)
{
+ if(on)
+ XawTextSetSelection( opt->handle, start, end ); // for lack of a better method, use selection for highighting
+ else
+ XawTextSetSelection( opt->handle, 0, 0 );
}
void