Geir wrote:Go to one line, press view/hide line shortcut, go to another line and press the same. How do you get your lines back?
Well, I'm just a user like you and therefore I wrote "I think this is not a bug
" and not that I know it definitely. Only an IDM developer can rate the current behavior as I explained as designed behavior or as bug. I'm also a programmer and I agree with you that it would make more sense for a syntax highlighted file with code folding that executing command Hide/Show Selection
on a line anywhere inside an identified block for being foldable should result in moving the caret to start of the first line of the block and fold respectively hide the rest of the block if there is currently no selection.
However, when a single line is hidden the line above gets the plus sign to unhide the single hidden line. As I wrote hiding single lines is more useful for looking on logs and the lines are hidden by executed a Find with pressing button Hide Lines
or Show Lines
Geir wrote:If you make 2 structs, press the + on one of them, the view/hide line will fold that whole struct the next time you press it inside it. So where has the one line hide feature gone?
You are right and this behavior is most likely not designed. When folding one block, unfold it, move caret down or up to any other block or a line outside any block and executing the command Hide/Show Selection
with nothing selected and the current line has no plus or minus sign, not the current line is hidden or the current block folded, instead the last unfold is undone independent of the position of the cursor. That is indeed very strange. Moving the caret down/up to another line with no plus or minus sign and executing the command again hides only this line. Strange, really strange.
I will report this issue by email to IDM support and also ask if the behavior with single line hide is really by design or a bug.
Geir wrote:I really like UE besides from a very few quirks (code completion, folding & camelcase word navigation).
I don't know what you understand by "code completion", but UltraEdit as general text editor does not really have a code completion feature. IntelliSense is supported only by UEStudio, of course not for all languages and only when the project is setup in a way to make it possible to build a symbol database.
You have a problem with CamelCase word navigation? Do you have the configuration setting CamelCase naming stops for Ctrl left/right arrow
checked or unchecked at Advanced - Configuration - Editor Display - Cursor/Caret