Re: Was Re: code to phantom spacing -- now BBEdit [!][/!]

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36644
interpreted = N
texte = Christopher Mackay wrote: > > >ability to Search/Replace on various characters, including EOL. I use > >MultiEdit for Windows (and highly recommend it) and I know others use > >BBEdit as well. Both can easily handle adding the [!]'s completely > >automatically. > > This is where some kind soul shares their method for doing this with > a single keystroke in BBEdit! :) > -- > It is likely not going to be a single keystroke in any program (unless you write a macro). In rough terms, select the block of text you want to affect, the do a search (limited to the selected text) for EOL (often this will be $). Replace with [!] (under MEW this does not remove the EOL unless you tell it to). Then search for the start of the line (often ^) and replace with [/!]. The first line of the block will have an extra [/!] at the beginning and the last line of the block will have an extra [!] at the end; remove them.QEDJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
Christopher Mackay wrote: > > >ability to Search/Replace on various characters, including EOL. I use > >MultiEdit for Windows (and highly recommend it) and I know others use > >BBEdit as well. Both can easily handle adding the [!]'s completely > >automatically. > > This is where some kind soul shares their method for doing this with > a single keystroke in BBEdit! :) > -- > It is likely not going to be a single keystroke in any program (unless you write a macro). In rough terms, select the block of text you want to affect, the do a search (limited to the selected text) for EOL (often this will be $). Replace with [!] (under MEW this does not remove the EOL unless you tell it to). Then search for the start of the line (often ^) and replace with [/!]. The first line of the block will have an extra [/!] at the beginning and the last line of the block will have an extra [!] at the end; remove them.QEDJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ John Peacock

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Multiple fields on 1 input (1997) Card clearance, problems - solutions? (1997) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) [WebDNA] Proper use of [spawn]? (2009) Text data with spaces in them... (1997) Encrypted Templates not Decrypting (2003) how to do multiple prices/item? (1998) NewCart+Search with one click ? (1997) need help with [sendmail] and [showif]s (1998) [WebDNA] Range calculation w/negative values (2011) Follow-Up to: Removing [showif] makes a big difference in speed (1997) Can you do this??? and other stuff (1997) WebCat and image maps (1997) [OT] Imagemagick (2004) Variable Prices (1998) Can a database get stomped by simultaneous access? (1997) Formulas.db + Users.db (1997) PCS Frames (1997) NT beta ReadMe missing (b12-b15) (1997) Can WebDNA do this? (2000)