Ok, so I did (partly) fix the advance mouse....
To be honest, I am an IDE beginner. I code with Pascal for years, but never had the time to dive into the IDE.
Actually I hadn't paid attention that you are using trunk, and that therefore you could just fpdeluxe up to the fixed version...
So you do not need to edit the file (or apply the patch).
If you did have to, it is easy.
- Open the file, edit the one line, as shown on the github page.
- Save the file
- Tools > Options > Build IDE
done.
But anyway, not needed.
So maybe before you proceed, here is what I would find very useful:
- right-click on the + icon in front of a procedure/function and get in the context menu the option to un/fold all procedures/functions (like already implemented for comments)
- same as above but for all except blocks
Nice ideas, but I have a large todo list, before this.
- either a menu or a context menu option, to unfold everything to level 0
"to level 0" is just a fancy way to say: unfold all / remove all folds?
If you have folded lines, then the fold gutter context menu has that entry.
- the advanced mouse actions should be self-explanatory. because at the moment I don't understand what is e.g. the current shortcut to fold everything.
The advanced mouse option, is a bit like Firefox "beware dragons" advanced options.
The normal mouse options, cover more than most people need. But there always had been a few people wanting something different. The advanced options are for this.
(Currently the overall options do not have a way have disabling advanced options, otherwise they would be invisible by default).
They are explained on the wiki. But they are to complex to be intuitive. (In a way they are a basic programming language)
In this case, I gave you the exact setting to apply. => that is to apply blindly, without understanding why. (the why is on the wiki)
I updated Lazarus trunk via FCPupDeluxe and now I can no longer fold everything using Shit+Alt+0. So what do I have to use now for this?
This should still work. Please check your keymap setting, as in the attached image.
I see in the Advanced Mouse options:
Fold Code Left Any Up - - Y 0 All (Nodes)
So I think I have to cleft-click while pressing the Ctrl button and then all nodes will be unfold. But this doesn't work
I assume that is in the section "collapsed". I.e. applies when you click on a [ + ] symbol
Depends on your reading of "all nodes".
"all nodes" here means: all nodes on this line.
if a then begin if b then begin
if both "begin" blocks are folded, you can either
- open one of them
- open both (all)
That does not apply to nodes on other lines.
If you want to, I can give you instructions, how to unfold all nodes on all lines, by clicking on the fold gutter.
(Ideally just clicking on the gutter outside of a [ +- ] symbol. I.e. empty parts of the fold gutter, or vertical line parts. / Or using middle button / Otherwise a lot more editing is needed).
Or send me your editoroptions.xml => and I add the middle click to unfold all, and send it back to you.