[OS X TeX] Warning - Find broken in TexShop 1.35b, no undo

Herb Schulz herbs at wideopenwest.com
Thu Sep 2 14:14:53 EDT 2004


On 9/2/04 12:56 PM, "Bob Kerstetter" <bkerstetter at mac.com> wrote:

> I assume you're using TeXShop 1.35.   When you are using Regex Find,
> there is an option in the "More Options" pane called "Delimit by
> Whitespace". When this is checked the Find searches for each word
> separately. So if you search for:
> 
> blah whatever
> 
> the search will find "blah" and "whatever" but not "blah whatever".
> This is the same thing as searching for blah|whatever using regex. This
> "Delimit by Whitespace" option works for the various search syntaxes
> (ruby, perl....) and for "Simple Matching" (regex off)
> 
> In your case, if you had "Delimit by Whitespace" enabled and regex off,
> it would find "(" and replace it with "()" and ")" and replace it with
> "()". So result would be "() ()" --- kind of a bummer.
> 
> The regex panel is pretty cool. Very flexible. And a very sharp knife.
> I did something similar to this on day one.
> 
> Undo does work, but you have to switch to the text window to activate
> it. This is different from the regular system-wide Find.
> 
> Take care,
> 
> Bob
> 

Howdy,

Is there a document that states and describes all the subtleties in the new
Search/Replace Dialog?

I had to do a global change of #RET# to |RET| in something like something
like #RET##INS##RET# and it found the first #RET# but not the second one. It
still seemed to do that with the ``Delimit by Whitespaces'' turned off.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list