Community
    • Login

    Hidden Line Triangles Disappear

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    14 Posts 6 Posters 6.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Jacob CurrieJ
      Jacob Currie
      last edited by

      When multiple sections of code are set to hide, I expand one set and the other sections triangles are gone!
      There is still a jump in line numbers and the code still exists (somewhere!).
      I need to exit notepad to get them back. I just updated to v7.5.4 (x64)

      For an image and more info check out this stackoverflow post:
      https://stackoverflow.com/q/48099642/8372214

      Claudia FrankC 1 Reply Last reply Reply Quote 1
      • Claudia FrankC
        Claudia Frank @Jacob Currie
        last edited by

        @Jacob-Currie

        yes, this is an issue when you have overlapping hidden lines but you do not have to exit npp,
        just select the endpoint and startpoint of the hidden lines and press alt+h or context menu hide lines then they will reappear.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Jacob CurrieJ
          Jacob Currie
          last edited by

          hidden lines are NOT overlapping.

          for example I just tested this:
          select lines 4-8 and hide,
          select 10-15 and hide,
          unhide 4-8,

          now the triangles for 10-15 are gone!
          Try it yourself and let me know if you get the same result.

          Also, selecting the start and end lines + ‘alt+h’ simply hides two more lines.

          Claudia FrankC 1 Reply Last reply Reply Quote 1
          • Claudia FrankC
            Claudia Frank @Jacob Currie
            last edited by

            @Jacob-Currie

            maybe I didn’t express myself correctly by overlapping I meant the triangles

            as you see in line 9 there are two traingles - this causes the issue,
            at least the one I know.

            When reopening it it shows like this

            Place the curor on start of line 16, press shift and arrow key up und you should see a
            selection like in the picture.

            Press alt+h and you get a new hidden triangle set, click on it and all hidden lines are visible again.

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • Claudia FrankC
              Claudia Frank
              last edited by

              But I see - there seems to be an additional glitch - maybe I try to investigate.
              Nevertheless, the npp exit seems not necessary to me.

              Cheers
              Claudia

              1 Reply Last reply Reply Quote 1
              • Jacob CurrieJ
                Jacob Currie
                last edited by

                I need help understanding how to get the triangles back without exiting the app.
                I seems anytime a hidden section is made visible again, all other hidden section triangles are gone.

                Thank You Claudia for your attention on this topic!! :)

                Claudia FrankC 2 Replies Last reply Reply Quote 0
                • Claudia FrankC
                  Claudia Frank @Jacob Currie
                  last edited by Claudia Frank

                  @Jacob-Currie

                  Jacob, one thing about hidden lines is that you cannot hide already hidden lines again,
                  means when you have e.g. lines 4-8 hidden and now you hide lines 3-10, that,
                  after you show line 3-10 lines 4-8 are visible too.

                  That in mind means, that if you have hidden lines without the triangle just create another one
                  slightly overlapping (now really overlapping lines :-) ) the original one, which should result
                  in a new pair of triangles which then could be expanded to show the “lost” hidden lines as well.
                  Works for me.

                  If this doesn’t work for you, try brute force method, select all, hide all lines, expand it.
                  Of course results in no hidden lines anymore - but I guess better than restart npp.

                  Cheers
                  Claudia

                  1 Reply Last reply Reply Quote 1
                  • Claudia FrankC
                    Claudia Frank @Jacob Currie
                    last edited by

                    @Jacob-Currie

                    oopss - seems to be that it has been already reported as an issue some time ago.
                    From first look it is rather an npp issue than a scintilla one.
                    Try to get enough information to prove that it is and will update github issue accordingly.

                    Cheers
                    Claudia

                    1 Reply Last reply Reply Quote 0
                    • Jacob CurrieJ
                      Jacob Currie
                      last edited by

                      I don’t understand, if this has been reported why isn’t anyone assigned to the issue? Why would end users be responsible for proving it?

                      Claudia FrankC Scott SumnerS 2 Replies Last reply Reply Quote 1
                      • Claudia FrankC
                        Claudia Frank @Jacob Currie
                        last edited by Claudia Frank

                        @Jacob-Currie

                        :-)

                        Try to get enough information to prove that it is and will update github issue accordingly.

                        There is an “I” missing

                        I try to get enough information to prove that it is and will update github issue accordingly.

                        but nevertheless, I have a python script written to prove that scintilla seems to work correctly
                        so, if, by any chance, you use python script as well you could use this in the meantime to make
                        it work for you.
                        Let me know in case you want to have.

                        Cheers
                        Claudia

                        1 Reply Last reply Reply Quote 0
                        • Scott SumnerS
                          Scott Sumner @Jacob Currie
                          last edited by

                          @Jacob-Currie said:

                          … if this has been reported why isn’t anyone assigned to the issue?

                          This could very well be my all-time favorite posting on this site.

                          :-D

                          1 Reply Last reply Reply Quote 3
                          • Bryan FritchieB
                            Bryan Fritchie
                            last edited by

                            I don’t even have “triangles”, nor do I want them. I hid a line and there is no Un-Hide. Very frustrating.

                            1 Reply Last reply Reply Quote 0
                            • PeterJonesP
                              PeterJones
                              last edited by

                              @Bryan-Fritchie ,

                              I can confirm: I just hid a line (got the triangles), then hid a second line adjacent to it (getting another triangle). When I then hit the triangle to unhide the second, both triangles disappear, but the first line is still hidden. If I go to a second tab and back, the line is visible again. (This is a similar sequence to what’s described above).

                              You might want to lend your support to https://github.com/notepad-plus-plus/notepad-plus-plus/issues/1112

                              1 Reply Last reply Reply Quote 1
                              • Alan KilbornA
                                Alan Kilborn
                                last edited by

                                The hide/unhide lines feature of Notepad++ is problematic and best avoided IMO.

                                1 Reply Last reply Reply Quote 2
                                • First post
                                  Last post
                                The Community of users of the Notepad++ text editor.
                                Powered by NodeBB | Contributors