/*
* xoptions.c -- Move list window, part of X front end for XBoard
*
- * Copyright 2000, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+ * Copyright 2000, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
* ------------------------------------------------------------------------
*
* GNU XBoard is free software: you can redistribute it and/or modify
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
};
void
-AddHandler (Option *opt, int nr)
+AddHandler (Option *opt, DialogClass dlg, int nr)
{
XtOverrideTranslations(opt->handle, XtParseTranslationTable(translationTable[nr]));
}