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"
      end if
  end repeat

where field "f1" contained a large text of which about 50% was italicised.

It worked.

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.
____________________________________________________________



_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to