Inconsistent tab behavior when using replace by space
-
@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:
-
Interesting. What version are you using? I’m using 7.6.6 - 64 bit.
-
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?
-
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.
-
Hmm. Any special settings or plugins that might be fixing this for you?
-
@PeterJones
If you save the animation as 2.0, then the progress bar looks prettier. -
@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
-
I’m not real sure what caused, but after uninstalling/reinstalling NPP the behavior is working as expected. Thanks for the sanity check.
-
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.
-
@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!