Menu

folders and Cloned view : bad behaviour ?

2008-12-04
2012-11-13
  • Robert TheWanderer

    Hi,

    first, Notepad++ is a very useful soft !

    However i'm having a problem with it. It can be worked around, but is still quite a hassle.

    Dealing with rather large files ( 3000+ lines), i've defined a custom language with folders, opening word "blockstart", closing word "blockend".
    I use this extensively to navigate the file quickly, and have currently three levels of nesting.

    However, when writing in a folder in the main view, this folder will automatically open also in the cloned view.
    This means that if the folder i'm writing in is below the text i'm having in the cloned view, the cloned view display will change.

    I'm not sure this is clear, so, an example :
    i have a script with three folders A B C, all closed.
    I clone the view.
    In the cloned view i open folder C.
    In the main view i open folder A, start to write into it -> folder A opens in the cloned view, and is now displayed in it, so i lost the part i was reading in folder C.

    - Scrolling is not synchronized.
    - I've tried uninstalling Notepad++ (including files in Application Data), reinstalling 5.01 or 5.11 gives the same result
    - making a custom language with only these folders definitions give the same result.

    Any hints on how to prevent this ?

    Thank you for reading !

     
    • Robert TheWanderer

      thinking a bit more, this is probably done to allow updating of the cloned view when typing in the main view.

      In an ideal world ( :) ) , the cloned view wouldn't need a folder to be opened to be updated, or, if not possible, there would be a preference like 'do not update cloned view'.
      Even though updating cloned view is useful, i'd happily ditch it in favor of a 100% stable display in cloned view.