ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> komodo-beta
komodo-beta
Re: [Komodo-beta] Show Section List misplaced by 25 lines
by Trent Mick other posts by this author
Apr 3 2009 1:21PM messages near this date
view in the new Beta List Site
Re: [Komodo-beta] Show Section List misplaced by 25 lines | Re: [Komodo-beta] Show Section List misplaced by 25 lines
[Martin]
> > When going to a JS function with Ctrl-F8 Show Section List, it goes  
> > to the wrong line. The line number is misplaced by about 25 lines.  
> > Sometimes Show Section List is completely empty.

Is there an "(x)" icon for that file in the Code Browser? For example, 
there might be a syntax error (or some fancy pants syntax :) that is 
causing the codeintel scanner to fail to scan your current file.

[Sean]
>  It doesn't always work with PHP files.
>  My guess: Komodo seems to keep an internal cache of "on which line  
>  does <function> start?" and it uses that, so under heavy editing, the  
>  sectionlist gets out of sync, in my experience.

Yes. The codeintel system is caching this.

>  Is there a way to force Komodo to reindex? Would be nice if it was  
>  call on save.

"File ->  Refresh Status (Ctrl+K, R)" is meant to do this.


However, there may also be a section list caching bug here.

Trent

-- 
Trent Mick
trentm at activestate.com
_______________________________________________
Komodo-beta mailing list
Komodo-beta@[...].com
http://listserv.ActiveState.com/mailman/listinfo/komodo-beta
Thread:
Martin Larsen
Sean Coates
Trent Mick
Martin Larsen
Trent Mick
Martin Larsen

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved