On 2 May 2009, at 12:40 AM, Charles Turner wrote:

> Hi all-
>
> Sorry to just barge in here with a question, but I'm having trouble
> living with the default behavior of Skim, although in every respect
> it's a fantastic application I can't live without.
>
> I'm taking highlights almost exclusively from OCR'ed newspaper clips,
> they're pretty good but not perfect, and there are issues because I'm
> Option-Clicking to get single columns. In short, I'd like to do edits
> to my highlights in Skim while the OCR is right in front of me.
>
> I invariably get something like this:
>
> <http://www.vze26m98.net/skim-tooltips.png>
>
> Two tooltips spread right across my screen! Moving back-and-forth
> between several highlight notes has got this popping up constantly.
>

These are tool tips on the notes table?

I think the tool tip that gets too large is the new Leopard feature  
called "expansion tool tip, which expands the cell in a row using a  
tool tip when the contents does not fit.

If you want to override this in code, probably the easiest way to do  
this is to add the following method to SKMainWindowController_UI.m:

- (BOOL)outlineView:(NSOutlineView *)ov  
shouldShowCellExpansionForTableColumn:(NSTableColumn *)tableColumn  
item:(id)item

You can return NO when the outlineView is the noteOutlineView, or  
perhaps it's suffient to only return NO when [item type] == nil.

If you want more control, like setting a maximum size, you need to  
subclass the texFieldCell that's used.

> So I got Skim source via SVN, and was hoping someone could point me to
> the general direction of where I could comment out tooltips for the
> notes pane?
>
> I also had two other questions. What is the "Skim-leopard.bundle" that
> built with Skim, and where should it go? I'm using 10.5.6.
>

It's an extension containing Leopard-only code (in particular the  
print panel accessory view). It should be automatically built and  
copied to the right location when you build the Skim target.

> Also, it'd be really great for me if I could put the notes pane
> horizontally across the bottom of the main window. Is this feasible,
> or some distant dream for me to wade in and modify?
>
> Thanks for your time!
>
> Charles


For that you need to rigorously change the view hierarchy of the main  
window, which involves quite a bit of changes in the code as well. It  
would not be easy, especially as you don't know by heart the content  
of the window, because you'll have to remove and re-add several views.

Christiaan



------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to