Navigator Classes SearchResults

Post any comments, suggestions, annoyances or ideas for future releases here. Please do not post bug reports or questions here.
Post Reply
mgag
Posts: 70
Joined: Tue Jun 24, 2008 9:09 pm

Navigator Classes SearchResults

Post by mgag »

In the Classes view, could there be another branch/tree called "SearchResults". And some way of entering a search that would look at all matches in classes/structures/Functions/Variables/etc, and put them in SearchResults, then one could go in there and click a hit and be taken to that instance.
mgag
Posts: 70
Joined: Tue Jun 24, 2008 9:09 pm

Navigator Trees

Post by mgag »

Is there an option so that a tree branch with very large number of nodes doesn't push the other branches out of the window when scrolling. I have thousands of nodes on each branch, and after opening up a few branches I quickly have a scrolling nightmare. I just wonder if this is as simple as setting an option in the behaviour of this object.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Is there an option so that a tree branch with very large number of nodes doesn't push the other branches out of the window when scrolling.
I'll see if I can find anything in the Win32 that stops this ;)

Cheers Jussi
mgag
Posts: 70
Joined: Tue Jun 24, 2008 9:09 pm

Tree Browsing

Post by mgag »

I googled a bit on this too and didn't find anything. In fact, I don't think I have ever seen this kind of behaviour - it would be helpful though. To make it work though, I think each click into a node would have to spawn another indented tree with the remaining window space....

And/or, what about a Navigator pane that we could populate via macros. For example, the CTRL-g (list all functions) macro could be directed to that "user" navigator pane. Or we could make other macros for custom things and get it to display (and become active) in that pane. With the current method of windows popping up, they are never the right size or the right place.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

I googled a bit on this too and didn't find anything. In fact, I don't think I have ever seen this kind of behaviour - it would be helpful though.
I looked at the code and Zeus is definitely doing nothing more than standard Win32 behaviour. But I have managed to come up with a solution that seems to fix this issue, but it creates a too much screen flicker.

I suspect with a bit more work the flicker can be reduced and hopefully even eliminated ;)
For example, the CTRL-g (list all functions) macro could be directed to that "user" navigator pane.
That sounds do-able. It's been added to the todo list ;)

Cheers Jussi
mgag
Posts: 70
Joined: Tue Jun 24, 2008 9:09 pm

Post by mgag »

Quote:
For example, the CTRL-g (list all functions) macro could be directed to that "user" navigator pane.

That sounds do-able. It's been added to the todo list.
I think this will be a very cool feature and allow some neat extensions from users. If you could give us some access to predefined widgets too, like a tree, and the ability to click on something and have it take us to that spot in the code, like the CTLR-g macro does.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

The latest release fills the function list using the regular expression defined in the document type, provided the document does not belong to the workspace.

For the case where the document is in the workspace then the tagging results will be used to fill in the function list.

The latest version can be found here: http://www.zeusedit.com/forum/viewtopic.php?p=5306

Cheers Jussi
Guest

Post by Guest »

This is great. I notice though, for c files, the function names are not cleared of whitespace on the left side. So, if I have a function declaration that is indented, it also appears indented in the Navigator. A minor detail.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

I notice though, for c files, the function names are not cleared of whitespace on the left side.
I left the white space on the left untouched because these days there are lots of languages that use a single file to define a collection of functions contained within a class (i.e. Java, C# etc).

Because the class names can/will also be appear in this list, this extra white space makes the list look like a easy to read summary of what is in the file ;)

Cheers Jussi
Post Reply