Community
    • Login

    Inconsistent tab behavior when using replace by space

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    tabs
    12 Posts 5 Posters 2.0k 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.
    • PeterJonesP
      PeterJones
      last edited by

      @John-Booth, welcome to the Notepad++ Community forum.

      You said:

      When using the “Replace by space” preference the behavior is more of just a hard number of spaces regardless of location.

      Like @ekopalypse, that’s not what I see. I did a ScreenToGif capture, and showed the difference between replace-by-space and just using normal tabs. The text all lines up exactly as I would expect:

      Alan KilbornA 1 Reply Last reply Reply Quote 2
      • John BoothJ
        John Booth
        last edited by

        Interesting. What version are you using? I’m using 7.6.6 - 64 bit.

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

          @PeterJones

          OT alert! :

          Nice “end frame” in the screencast but it doesn’t stay up long enough to really read it (much like credits on today’s TV shows). :)

          BTW, in the progress bar there are little tick marks occasionally…what are those?

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

            @John-Booth,

            What version are you using? I’m using 7.6.6 - 64 bit

            I used 7.6.3 64-bit for the screencast.
            I just pulled up my 7.6.6 64-bit, and tried again. It worked as expected for me (screenshot, not animation, follows):

            -----

            @Alan-Kilborn said:

            OT alert! :

            I thought I set the end credits to 1s, but it doesn’t seem like it stayed quite that long. I drew that endcard (and made it identify me here and other forums, in case I ever post an animation on the StackExchange) just before the progress bar feature was pointed out.

            It turns out if you create the animation, add the red progress bar, then delete lots of frames where my typing was too slow to be noticed, the progress bar can start at 20%. So I haven’t figured out how to delete the existing progress bar or “regenerate it”. When I added a new one (yellow this time), it doesn’t always fully cover things, so sometimes the red sticks through. It’s weird. But lesson learned: don’t add progress bar until you’ve edited out any frames you don’t want, and until you’ve retimed any frames that are active too long or too short. Progress bar should be last step.

            andrecool-68A 1 Reply Last reply Reply Quote 2
            • John BoothJ
              John Booth
              last edited by

              @Peter-Jones

              Hmm. Any special settings or plugins that might be fixing this for you?

              1 Reply Last reply Reply Quote 0
              • andrecool-68A
                andrecool-68 @PeterJones
                last edited by

                @PeterJones
                If you save the animation as 2.0, then the progress bar looks prettier.

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

                  @John-Booth said:

                  Any special settings or plugins that might be fixing this for you?

                  Nope. My 7.6.6 is an almost-pristine 7.6.6-64bit portable from the zip download:

                  Notepad++ v7.6.6   (64-bit)
                  Build time : Apr  3 2019 - 23:52:32
                  Path : C:\usr\local\apps\npp64.7.6.6\notepad++.exe
                  Admin mode : OFF
                  Local Conf mode : ON
                  OS : Windows 10 (64-bit)
                  Plugins : mimeTools.dll NppConverter.dll 
                  
                  1 Reply Last reply Reply Quote 2
                  • John BoothJ
                    John Booth
                    last edited by

                    I’m not real sure what caused, but after uninstalling/reinstalling NPP the behavior is working as expected. Thanks for the sanity check.

                    John BoothJ 1 Reply Last reply Reply Quote 3
                    • John BoothJ
                      John Booth @John Booth
                      last edited by

                      More details in case someone else should run into this down the road:

                      The root cause was due to dis-associating the tab key with the SCI_TAB command. I had done this so I could use tab for tag expansion with the Quicktext plugin. I guess I will have to find another hotkey to use.

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

                        @John-Booth said:

                        More details in case someone else should run into this down the road:

                        Thanks for coming back with that. It will hopefully help future readers of this thread.

                        Glad it’s working for you now!

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