-
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
Tab icon glitch when pasting #14410
Comments
I think I tracked the glitch to this line in the code:
If I comment-out this line and run, then do the STR (Steps To Reproduce) above, I don't see the glitching I described. And...I don't see a "SYN" character added into the edit zone; using this setup: |
@donho Are you sure you were getting a "SYN" character put into the edit zone, before adding the hack? If you remove the hack, can you give some STR (steps to reproduce) so that I could see it as well? |
@alankilborn @pryrt I have no better solution so far. Please create a PR if you've got one.
Just turn on "Show All Characters". |
But...from my screenshot earlier I have Show Control Characters... on already, and SYN is a control character. I wonder why I do not see it? |
@alankilborn // Hack for preventing the char "SYN" (0x16) from being adding into edit zone
//buf->setUserReadOnly(true); Then do as following: #14338 (comment) What do you see? |
Now you modify the code to the following: if (pasteToMultiSelection())
{
// Hack for preventing the char "SYN" (0x16) from being adding into edit zone
//buf->setUserReadOnly(true);
//_isMultiPasteActive = true; // It will be set false with WM_KEYUP message
return TRUE;
} and do the same manipulation, you will see SYN char appear. |
Remove also Shift-DEL, Ctrl-INS & Shift-INS shortcut from Scintilla. Ref: notepad-plus-plus#14401 (comment) Fix notepad-plus-plus#14410
Description of the Issue
When experimenting with Notepad++ 8.6's new multi-select feature, in certain circumstances when pasting, I noticed a visual glitch of the tab's icon. Looking closer it briefly changes to a "lock" icon before quickly changing back to a "pencil" icon.
Steps to Reproduce the Issue
Expected Behavior
No visual glitch of tab icon at paste.
Actual Behavior
Visual glitch of tab icon at paste.
I see the "lock" briefly before it switches back to the "pencil".
Debug Information
Notepad++ v8.6 (64-bit)
Build time : Nov 23 2023 - 16:58:44
Path : C:\NotepadPlusPlus\Misc_NoBackup\Releases\npp.8.6\npp.8.6.portable.x64\notepad++.exe
Command Line : -multiInst
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 11 Pro (64-bit)
OS Version : 22H2
OS Build : 22621.2428
Current ANSI codepage : 1252
Plugins :
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)
The text was updated successfully, but these errors were encountered: