-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Show non-printable characters #13020
Conversation
fix issue with tooltips in preference dialog, when changing between dark/light mode
From a UI perspective -- I originally thought those Also, how critical is it, really, to have that full list in the UI? Would it be better to just put those lists in the User Manual, and just have the Preferences dialog show the Abbreviation and Codepoint radio buttons, without the 1,2,? non-buttons. Maybe have a short hover for each, so Abbreviation has a hover of |
Here's someone else's definition of "non-printable": #8111 |
I endorse @pryrt 's feelings about these buttons, including "is it really needed". If user clicks one, nothing happens. Worse, after the click attempt, user's mouse points to the button while user waits for something to happen. This causes the tip to NEVER appear (without user moving mouse away and then back into button space). |
Thank you for your work. 👍 Toggling the command or changing the preference does not take effect until clicking in the editing area. |
👍 A link to the User Manual is another option. |
@pryrt, @alankilborn,
I've noticed it too, but I am not sure how to fix it now. For [?] button I've just copied code. The same issues also affect performance and delimiter [?] buttons. |
7ba7da3
to
34706aa
Compare
A known-issue is legit. :) |
well this PR is more about "non-ASCII" non-printable characters. |
Yes, well, I've never liked those buttons' behavior, either. I've just never felt strongly enough about the other two to put in a separate issue, since I only used those two hover texts once (when trying to figure out what the button was supposed to do). For your button, I was just in the loop early enough to be able to complain about it before it was released ;-)
I downloaded the x64 release build exe from appveyor, and I definitely prefer the updated Preferences page: the single |
There's already a link to the user manual in the |
Hmm, why not make a "complete" solution? Not that I know what that looks like... :-) |
I really don't think Probably |
I don't know how I feel about But more than that, And the tab character is a Whitespace character, as are newlines and vertical tabs and some of the "non-printable" Unicode characters, so separating "Tab" as somehow distinct from the "Whitespace" or "White Space" is not an accurate separation. Since the only two characters affected by that toggle are the literal space (ASCII 32, U+0020) and the tab (ASCII 9, U+0009), I think that As for the new name for the never-accurate |
Because ASCII characters are already visible. This PR is dealing with "invisible" characters. IMHO I think |
Oh, I hadn't noticed that toggling the Show All also forced the new menu entry to toggle. I'm not sure I like that, because then to move from a current state of |
Sure, OK, in the spirit of keeping changes small. Hopefully if someone does a solution for not showing the ASCII characters, it fits in well with this PR's changes. |
I hadn't noticed that either. |
👍
👍 pnedev/comparePlus#345 (comment).
(IMO, If you use a MsgBox, how about replacing the I also think that Thanks again. |
I agree, this would be better than existing implementations, both as currently in released N++, and in this PR.
Makes sense.
Agree, but your lack of suggesting a substitute shows how difficult coming up with a good substitute is. :-) |
d021c36
to
f994e45
Compare
Sorry wrong button.
Should it be "non-printing or control and whitespace characters"? https://en.wikipedia.org/wiki/Control_character |
May I ask you when Thank you. |
@donho , it will be in the https://npp-user-manual.org/docs/views/#show-symbol section |
New feature in active development per notepad-plus-plus/notepad-plus-plus#13020 Started the documentation now, even though the feature hasn't been committed, because Don wanted to know what the URL would be for the table. The table was populated based on @ozone10's list that was previously shown in dialog box, but with the abbreviations updated based on https://en.wikipedia.org/wiki/List_of_Unicode_characters#General_Punctuation The feature is still in-progress, so the documentation is, too.
Well caught. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Please follow the suggestions.
- Add NPC custom color node in
bool NppParameters::feedStylerArray(TiXmlNode *node)
similar as EOL custom color node (so "NPC custom color" node will be always available, even the styler.xml is not updated):
https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/Parameters.cpp#L3886
handle missing NPC color style in theme files, open User Manual directly to relevant page, tweaks
It was supposed to be hidden option for users who don't want change how But unless there is demand for it I have removed it for now.
This was only for reference. This PR also include other non-printing and whitespace characters. |
|
@ozone10 Could you do a new force push please ? |
042fbc0
to
e062c53
Compare
I thought commit with changes only to xml should use |
Can this be made the default setting?: This is such a valuable new feature, but if it is not on-by-default, 90+% of Notepad++ users won't ever know about it and won't be able to benefit from it (the typical user upgrades all the time, but doesn't read release notes). Make it on by default, let those that complain figure out or ask how to turn it off (if they want, although turning it off is usually not a smart move). |
Hmm... Maybe it's better that Search result' Scintilla sync with settings (only this part). |
@ozone10 's PR made it in before the issue could be created. |
* Show Non-Printable Characters New feature in active development per notepad-plus-plus/notepad-plus-plus#13020 Started the documentation now, even though the feature hasn't been committed, because Don wanted to know what the URL would be for the table. The table was populated based on @ozone10's list that was previously shown in dialog box, but with the abbreviations updated based on https://en.wikipedia.org/wiki/List_of_Unicode_characters#General_Punctuation The feature is still in-progress, so the documentation is, too. * Non-Printing Chars: make the table collapsible * update Table of Non-Printing Characters regenerate table from https://github.com/notepad-plus-plus/notepad-plus-plus/pull/13063/files * restore table header accidentally deleted the header in the previous commit * added v8.5 and clarified
fix issue with tooltips in preference dialog, when changing between dark/light mode
defined for:
fix #827
fix #4731
fix #8284