I am used to the Scinitilla editor in Notepad++ where a CTRL-CLICK of a code fold will fully expand or collapse the fold and all its sub-folds... I still haven't found an equivalent functionality in Zeus, (It hasn't stopped me reflexively CTRL-Clicking though )

This is of great convenience to developers, since they can easily collapse all the code except the function(s) they're currently working on.

I am used to the Scinitilla editor in Notepad++ where a CTRL-CLICK of a code fold will fully expand or collapse the fold and all its sub-folds... I still haven't found an equivalent functionality in Zeus,

function key_macro()
screen_update_disable()
-- NOTE: this should work but does not at present
-- local line = get_line_pos()
-- close all the folds
FoldingCloseAll()
-- open the current folds
FoldingLineToggle()
-- position the function at the top of the page
ScrollLinePageCenter()
-- NOTE: this should work but does not at present
-- restore the origonaL cursor location
--set_line_pos(line)
screen_update_enable()
screen_update()
end
key_macro() -- run the macro

Sorry Jussi... I tried that macro and it just toggled the current fold.

Ideally what I would like is to be able to click the little '+' or '-' glyph with the CTRL key held down and have the current fold either fully open or close, (ie. including all of its child sub-folds).

A macro that did the same thing would be my next choice.

I normally use this feature by first collapsing the entire document and then fully toggling the function I'm currently editing... I personally find it particularly useful and am currently having to do a lot of '+' and '-' glyph clicking in Zeus everytime I want to view/edit a function...

And finally ... The scintilla editor in Notepad++ has another couple of very nice features which you might want to consider for Zeus.

1. Selecting a word by double-clicking it or searching for it, also highlights every other matching instance, (in another colour). This is very convenient when you are manually changing the name of a variable in a block of code.

2. When editing an XML document, clicking on a tag name automatically highlights both the tag name and its matching closing tag.

BTW in my testing I noticed that the code folding doesn't cope with CDATA embedded in XML, where the CDATA contains HTML tags, see below...

I'll take a lok at this.

Also could you tell me how to assign a key-mapping to "Select All"?

Use the Options, Editor Options menu select the Keyboard Mapping panel and then binf the MarkSelectAll function to the required key.

1. Selecting a word by double-clicking it or searching for it, also highlights every other matching instance, (in another colour).

This has been requested before. Unfortunately, I suspect this change would require quite a large number of changes to the searching code in Zeus and as such I am reluctant to make such a big change for a nice to have feature.

This is very convenient when you are manually changing the name of a variable in a block of code.

Jussi wrote:Use the Options, Editor Options menu select the Keyboard Mapping panel and then binf the MarkSelectAll function to the required key.

Thanks...

Jussi wrote:This has been requested before. Unfortunately, I suspect this change would require quite a large number of changes to the searching code in Zeus and as such I am reluctant to make such a big change for a nice to have feature.

Geez Jussi!... thats just not the gold-plated support attitude I've come to expect from you,

Jussi wrote:This too has been requested before and is on the list of things to investigate.