[ jedit-Plugin Bugs-1506964 ] sidekick folding broken

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ jedit-Plugin Bugs-1506964 ] sidekick folding broken

SourceForge.net
Plugin Bugs item #1506964, was opened at 2006-06-16 00:33
Message generated for change (Comment added) made by kpouer
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=565475&aid=1506964&group_id=588

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: James Sleeman (sleemanj)
>Assigned to: Alan Ezust (ezust)
>Summary: sidekick folding broken

Initial Comment:
Jedit 4.3pre4; PHPParser 1.2.3; SideKick 0.6

With a PHP file open, and the folding mode set to
sidekick, and the sidekick structure browser open, and
set to PHPParser, the folding is somewhat screwy...

Don't know how I can better describe it, but here are a
couple of cases (both cases are PHP5 syntax)..

  case 1: a PHP file with simply many functions and
some include statements.
   * only one fold marker is presented, at the first
function header, and this folds to the last } in the
document, rather than to the function's close brace.
 
  case 2: a PHP file with a require_once followed by a
class, followed by some procedural statements.  
   * A fold marker is presented at the require_once,
folding this folds to the last } in the file - no fold
should be presented there at all.
   * A fold is presented at the first public property
of the class definition, this also folds to the last }
in the file.  
   * Folds are presented at some require_once
statements inside methods of the class, these fold to
the next require_once statement inside the same method,
if there is only one require_once in a method it
doesn't get a fold.

I don't know if this is a new problem or has always
been like it, previously I used the
ConfigurableFoldHandler to do folding but that breaks
jedit in current versions, hence why I am trying
sidekick folding with PHPParser.



----------------------------------------------------------------------

>Comment By: Matthieu Casanova (kpouer)
Date: 2006-11-27 18:11

Message:
Logged In: YES
user_id=285591
Originator: NO

Hi, I think this is a bug in Sidekick since (I can reproduce it with
Javasidekick too)

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=565475&aid=1506964&group_id=588

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel