TIP: Click on subject to list as thread! ANSI
echo: wperfect
to: SU MAJEWSKI
from: BILL WHITE
date: 1996-08-06 19:24:00
subject: Underline to italic

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.