Strange, my tests did not give any problem. I changed it to return  
UINT_MAX. It's not relevant anyway, it's just a hack to simulate a  
custom scripting value type, as there is no built-in support for that  
kind of thing (only suggestions).

Christiaan

On 7 Aug 2007, at 8:52 PM, Adam R. Maxwell wrote:

> I'm getting a script error when calling displayline as follows  
> (actually from TextMate, but the same problem appears in Terminal):
>
> /Volumes/Local/amaxwell/BuildProducts/Debug/Skim.app/Contents/ 
> Resources/displayline 24 "/Volumes/Local/amaxwell/firstManuscript/ 
> master.pdf" /Volumes/Local/amaxwell/firstManuscript/model.tex
> 125:210: execution error: Skim got an error: Can’t get TeX line 24  
> of document 1. (-1728)
>
> I set a breakpoint on -[SKDocument handleGoToScriptCommand:], but  
> it never gets hit.  Since -[SKDocument countOfLines] always returns  
> 0, objectInLinesAtIndex: is never called.  If I hardcode  
> countOfLines to return 100, everything works, but that's obviously  
> wrong.  What's happening here?  It looks like reverting the  
> displayline script to r2452 also works.
>
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a  
> browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> skim-app-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/skim-app-develop


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
skim-app-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-develop

Reply via email to