pspad:
--------------------------------------------------------------------------------
1. if you dblclick in Code explorer on function, it stays highlighted. Maybe
you use some nonstandard windows color scheme with redefined colors...
--------------------------------------------------------------------------------

No, I guess you don't understand what I mean.
When I double click in Code Explorer, of course it is highlighted.
But when I switch focus from Code Explorer to Editor, it isn't highlighted.

What I'm asking is to highlight the selected item when focus switches from Code
Explorer to Editor.

When get focus,
(viz http://farm4.static.flickr.com/3553/3435331550_a9a17039f1_o.png )

When lost focus,
(viz http://farm4.static.flickr.com/3558/3435331578_d3330e02f6_o.png )

I wish the selected item can still highlighted when losing focus, thus user can
easily know which function they last visited.

pspad:
--------------------------------------------------------------------------------
2. code explorer content is different for each language. There are not functions
only, but many others language depending content.
--------------------------------------------------------------------------------

Since we can jump to the function we select in Code Explorer, I guess there
should be a kind of mechanism to map each function to a line number.
If so, then:
1. PSPad can detect which line the cursor is on.
2. If user moves cursor, PSPad can calculate which function section it may be
in.
3. Then PSPad can highlight this function item in Code Explorer.

For example:
Func-A begins from line 1, and func-B begins from line 10.
If user moves cursor to line 5, then func-A is highlighted.

Of course, very possible there are other contents between two functions.
So, maybe Code Explorer highlights func-A, but the cursor runs out of func-A's
section.
But I think that's fine. I think it is enough to let user know where they are.

When you're watch a long code, it is very useful to know where you are, right
B-]

-- 
<http://forum.pspad.com/read.php?2,49599,49601>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem