# To subscribers of the xforms list from Steve Lamont <spl@ncmir.ucsd.edu> :
> Thanks, I skimmed right over that part looking for
> something more of the form fl_set_text..... Is there a
> method provided to strip those characters out while
> getting the browser line, or does it need to be done
> "manually"?
"Manually."
I generally use a "fake" "@" operator as a delimiter if I'm using
color or other modifiers, such as the "@x" in
fl_addto_browser( browser, "@C3@xmy text goes here." );
Then I can do something like
const char *line = fl_get_browser_line( browser, line );
char *start_of_text = strstr( line, "@x" ) + 2;
to strip off the junk more or less automagically.
XForms happily ignores the bogus modifier.
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Tue May 22 2001 - 15:10:52 EDT