SM> -> Did you try it? You can use Search & Replace to
SM> -> find, say, the Und On code and replace it with the
SM> -> Italc On code, but then everything from then on is
SM> -> italics because the Und Off code is gone, too, and you
SM> -> can't replace it.
SM> The heck, you say.
SM> I tried that and it italicized the whole bloody document.
That's what I was saying: you can locate and
replace the Und On with Ital On, but you can't replace
the Und Off 'cause it's gone. So, yes, all after that
are italized. However, with a macro, you can locate
the Und On, block on, locate Und Off, hit the Ital,
back up to the Und Off and delete it.
DISPLAY(Off!)
SearchString(""+"")
SearchNext()
BlockOn(CharMode!)
SearchString(""+"")
SearchNext()
AttributeAppearanceOn(Italics!)
BlockOff
PosCharPrevious
DeleteCharPrevious
I thought of writing a general macro for replacing
code-pairs, then found one came with WordPerfect dos
6.1: MOD_ATRB.WPM
FIDO: Bill White @ 1:135/110 (Miami)
InterNet: bill.white@110.sunshine.com
* SLMR 2.1a * Music for $.25/minute - call Borland Tech Support now!
--- Maximus 2.01wb
---------------
* Origin: Miami Amateur Computer Club BBS/USR Courier V.E (1:135/110)
|