Re: [OS X TeX] Highlighting Found Items (⌘-F) with OgreKit

Herbert Schulz herbs at wideopenwest.com
Mon Apr 23 15:43:26 CEST 2012


On Apr 23, 2012, at 8:39 AM, Charlie Ros5e wrote:

> 
> On 2012 Apr 23, at 13:34 PM, Herbert Schulz wrote:
> 
>> 
>> On Apr 23, 2012, at 5:34 AM, Charlie Ros5e wrote:
>> 
>>> 
>>> On 2012 Apr 22, at 15:14 PM, Herbert Schulz wrote:
>>> 
>>>> 
>>>> On Apr 22, 2012, at 7:47 AM, Charlie Ros5e wrote:
>>>> 
>>>>> 
>>>>> Using TexShop 2.43 on OS X 10.6.8.  White background in Source window.
>>>>> 
>>>>> When I search for an item using cmd-F, the found items are highlighted in light gray making them difficult to find amid all the text. I opened More Options in the OgreKit Find window, and set the Highlight Color: to bright red (not a good highlight for doing work but fine for checking the operation of OgreKit). 
>>>>> 
>>>>> I closed TexShop, reöpened it, searched for something, and it came up highlighted gray.
>>>>> 
>>>>> I restarted my MacBook, opened TexShop, searched for something, and it still came up highlighted gray.
>>>>> 
>>>>> Please ... can anyone tell me what I'm doing wrong?
>>>>> 
>>>> 
>>>> Howdy,
>>>> 
>>>> I assume you are finding all instances of an item rather than a single instance at a time. It is usually highlighted in gray because the Source window is not active. Click on the border of the Source Window and it should become active and the correct highlight color should show.
>>> 
>>> When I "find all instances" of a string, I get (in a separate little window) a list of all found instances, highlighted in my specified color, together with their line numbers. If I then click on the Source Window border, and go to one of the specified line numbers, I do find the sought-for word ... but it's not highlighted. Since this isn't what you expected would happen, it makes me a little suspicious of my installation.
>>> 
>> 
>> Howdy,
>> 
>> Sorry, that is correct behavior. But don't switch windows and mover to the line number but rather click on an instance in that list and it will be highlighted (in gray, since the Source window isn't active). I'm not that happy with it and I essentially never use the Find All Instances.
>> 
>>>> If you are finding a single instance of a match at a time I suggest you press Return after entering the text to be found. This will find the first item (according to your settings), highlight it and close the Find window (which leaves the Source window active!).
>>> 
>>> When I search for a "single instance", I enter the word to search for, and bonk Return as you said to do. The Source Window scrolls down (if it must), and stops at the highlighted word ... except ... it's not highlighted with the color I've specified. It's highlighted with a not-very-dark-so-therefore-not-very-noticible blue-gray background. Again ... this makes me a little suspicious of my installation.
>>> 
>>>> To find the next match press Cmd-G (Edit->Find->Find Next) and it will jump to the next match rather than pressing Next in the Find window.
>>> 
>>> 
>>> Cmd-G works as you say it should ... except the highlight remains blue-gray as above.
>>> 
>>> With many thanks, Herbert!
>> 
>> 
>> I would assume that highlight color selection is only for the Ogrekit Find panel. The selection color in the Source document is set for all applications by the global setting in System Preferences->General->Highlight color:. I don't see a hidden preference for setting this separately in TeXShop. I have to admit that I've never even played with the Ogrekit setting.
> 
> Hmmmmm ... I don't have a    System Preferences -> General    item in Snow Leopard. Maybe it's a Lion Thing. But ... stumbling blindly around, I found    System Preferences -> Appearance -> Highlight Color! I set it to 'Red' (which is anything *but* red ... it's more of a pathetic, wimpy coral), and now I can see the highlights that Find produces! You got me what I wanted, Herb, and I'm a *happy* boy. Thanks!


Howdy,

Been a while since I've spent time on Snow Leopard and I know that System Preferences has multiple re-arrangements between the two.

Note: that setting is global; i.e., it will be the highlight color in all apps.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list