-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the Notepad++ find/replace form turns on Elastic Tabstops #24
Comments
At first attempt, I’m not able to reproduce this with Notepad++ 8.6.4 and Columns++ 1.1. In your step 5, could you try typing a letter, then a tab at the start of the first line (before “foo”); then several letters (enough to be more than your ordinary tab width) and a tab at the start of the second line (before “bar”); and note whether “foo” and “bar” after the tabs line up (indicating Elastic tabstops is really on) or not (indicating that it isn’t)? I ask that because — particularly when we already know some sort of bug is happening — the contraction of control character symbols isn’t a reliable indication that elastic tabstops is on; it could equally well be an indication that SCI_SETCONTROLCHARSYMBOL has been called incorrectly, or not called when it should have been. Would you post the Notepad++ Debug Info so I can duplicate what other plugins were installed? Is the list identical between your installations of 8.6.4 and 8.6.6? Since I’m not able to reproduce this just duplicating the versions of Notepad++ and Columns++, I have to consider that there might be interference between Columns++ and some other plugin. I presume DirectWrite is not enabled in Notepad++ (because as of Columns++ 1.1 the control character reduction wouldn’t be happening at all if DirectWrite were enabled unless you forced monospace font options in the elastic tabstops profile), and you have the (default) Columns++ Profile options Apply monospaced font options: Best estimate selected and Don't show expanded mnemonics for non-printing characters when monospaced checked? |
Thank you for giving me that clarification; now that I understand what was happening, I can confirm that this bug still appears on Notepad++ 8.6.6 (I have edited my original post and issue title to reflect that) with a clean installation of Columns++ 1.1 with default settings and no other plugins. Using a clean installation of Columns++ with default settings, why don't you try using the find/replace form to replace
I've tried this both with and without DirectWrite turned on; it doesn't matter. Debug info:
|
Thank you! Using a fresh, portable installation of Notepad++ 8.6.6 with a fresh copy of Columns++ 1.1 and the test you suggested enabled me to reproduce it. |
Columns++ version 1.1.1 should fix this. When you get a chance, let me know if you can confirm, or if you find problems. Thank you again for your help in identifying this. |
I tested CPP 1.1.1 on both Notepad++ 8.6.4 and 8.6.6, and it seems to be fixed. |
AFAICT, when Columns++ 1.1 is installed, this issue occurs on Notepad++ 8.6.4 but not Notepad++ 8.6.6. I haven't tested to see what other versions cause this issue to surface.EDIT: As noted below, this issue is still present for Notepad++ 8.6.6, even though the example in this original post doesn't exhibit it.
To replicate:
Show All Characters
to make it easier to determine whether Elastic Tabstops is on.CR
andLF
are full-sized.foo
withfoo
.CR
andLF
appear squished, indicating that Elastic Tabstops is on.Elastic Tabstops
item even though it is turned on. Clicking this item twice will fix this issue.The text was updated successfully, but these errors were encountered: