[OS X TeX] TeXShop balance begin/end

"M. Tamer Özsu" ozsut at mac.com
Thu Sep 16 00:55:03 CEST 2010


There is one available that Ramón Figueroa-Centeno had announced some time ago. You can get it from here:

http://www2.hawaii.edu/~ramonf/TeXShop/index.html

==Tamer

On 2010-09-16, at 3:55 AM, Herbert Schulz wrote:

> 
> On Sep 15, 2010, at 1:44 PM, Nestor Aguilera wrote:
> 
>> El Mie, 15 de Septiembre de 2010, 14:28, Herbert Schulz escribió:
>>> 
>>> On Sep 15, 2010, at 9:34 AM, Nestor Aguilera wrote:
>>> 
>>>> Hi,
>>>> 
>>>> Does the TeXShop editor have a command for balancing begin/end pairs (in
>>>> the source file)?
>>>> 
>>>> Thanks,
>>>> 
>>>> Nestor
>> 
>>> Howdy,
>>> 
>>> Do you mean that it inserts matched pairs when you press the opening
>>> delimiter; e.g., you press { and you get {} with any selection and the
>>> insertion point between them?
>> [...]
>>> If you mean matching the delimiters as they are created, e.g., when you
>>> press the closing delimiter it flashes back to the matching starting
>>> delimiter, make sure TeXshop->Preferences->Source->Parens Matching is
>>> checked.
>> [...]
>> 
>> No, I don't have problems with that. Rather I was wondering if there is a
>> method for selecting anything between matching begin/end pairs, e.g.,
>> given
>> 
>> \begin{enumerate}
>> \item one
>> \begin{itemize}
>> \item two
>> \end{itemize}
>> \end{enumerate}
>> 
>> I would like to select anything between \begin{itemize} - \end{itemize} or
>> between \begin{enumerate} - \end{enumerate}.
>> 
>> Thanks,
>> 
>> Nestor
> 
> Howdy,
> 
> Not built into TeXShop but you might be able to build a Macro using Applescript. It would have to check about possible nesting, etc., so it wouldn't be trivial.
> 
> Good Luck,
> 
> Herb Schulz
> (herbs at wideopenwest dot com)
> 
> 
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> 




More information about the macostex-archives mailing list