When i do Fold All or Unfold All, the screen view is in a fairly random position.
One naturally wants the screen view to be where the cursor is, since you are often Folding All to hunt about the environment of where your cursor is.
One can use the arrow keys to force the screen to change back to the current line, but i am thinking, this should really be a natural outcome of Fold/Unfold All :)
Great many thanks,
david
d
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hmm… maybe i've hit a sporadic bug; seems to be working better at the moment (no changes to source file). Before, it was jumping right to the end of the large (3000 lines) javascript file, now it is getting close by, although it doesn't leave the active line in the middle of the screen, which is where you'd want it to be :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I confirm it does not behave as we might expect. Not sure if it is Scintilla or Notepad++ that should correct that problem. Scintilla seems to want to keep the cursor visible, since it calls "EnsureCaretVisible" in "Editor::ToggleContraction", but it obviously does not correctly keep cursor in view when using "Fold All"/"Unfold All".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you post a sample file somewhere, explaining what are the observed and expected behaviour on a specific action? Without this it will be harder to assess whether there is a problem, let alone what the problem is.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When i do Fold All or Unfold All, the screen view is in a fairly random position.
One naturally wants the screen view to be where the cursor is, since you are often Folding All to hunt about the environment of where your cursor is.
One can use the arrow keys to force the screen to change back to the current line, but i am thinking, this should really be a natural outcome of Fold/Unfold All :)
Great many thanks,
david
d
hmm… maybe i've hit a sporadic bug; seems to be working better at the moment (no changes to source file). Before, it was jumping right to the end of the large (3000 lines) javascript file, now it is getting close by, although it doesn't leave the active line in the middle of the screen, which is where you'd want it to be :)
I confirm it does not behave as we might expect. Not sure if it is Scintilla or Notepad++ that should correct that problem. Scintilla seems to want to keep the cursor visible, since it calls "EnsureCaretVisible" in "Editor::ToggleContraction", but it obviously does not correctly keep cursor in view when using "Fold All"/"Unfold All".
Can you post a sample file somewhere, explaining what are the observed and expected behaviour on a specific action? Without this it will be harder to assess whether there is a problem, let alone what the problem is.
CChris