From: SourceForge.net <no...@so...> - 2003-03-31 03:07:32
|
Bugs item #702862, was opened at 2003-03-13 05:23 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=702862&group_id=588 Category: editor core Group: minor bug >Status: Closed >Resolution: Invalid Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: SideKickPlugin treeview/ getTreePathForPosition(dot) Initial Comment: I'm using sidekick in a plugin and encountered problems with the tree view expanding based on the current cursor position. Basically when I place the cursor within an asset(i.e a method within a class in the textArea) it correctly expands the Tree view to that asset. So far so good. When I place the cursor within a method that belongs to Class2 the tree doesn't expand. File |->Class1 |---->method1 |---->method2 |---->method3 |---->Class2 |-------->method21 |-------->method22 I've tracked it down to SideKickParsedData.getTreePathForPosition(int dot) returning null instead of a TreePath for Class2 and its children. I've overriden SideKickParsedData.getTreePathForPosition(int dot) to the file attached and it resolves the problem. cheers --jedit community username: SvenFoster ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=702862&group_id=588 |