Sorting Text by textStyle.
geradamas at yahoo.com
Sun Nov 30 15:39:16 CST 2008
Um, probably reinventing the wheel here. Notwithstanding that, just tried this:
put the number of chars in fld "f1" into XCHARS
repeat with XX=1 to XCHARS
if the textStyle of char XX of fld "f1" is italic then
put char XX of fld "f1" after fld "f2"
where field "f1" contained a large text of which about 50% was italicised.
Mind you, still didn't tell me how many paragraphs field "f1" contained.
sincerely, Richmond Mathewson.
A Thorn in the flesh is better than a failed Systems Development Life Cycle.
More information about the use-livecode