Notepad3
Notepad3 copied to clipboard
Double click selection must select keywords
We have this line:
subdivision.push_back(unique_ptr<SteelKinematicHardeningArea>
...
I double click on unique_ptr
to select keyword unique_ptr
but notepad3 selects the whole line white-character to white-character.
I feel double click must select keywords.
Sounds like you have
Settings | Accelerated Word Navigation
enabled, disable it.
Yes. Now it works. Although "Accelerated Word Navigation" is a very obscure option name.
If Notepad3 is complicated enough so selection works different on every type of file, then on XML files must recognize as part of keyword, the "-" character.
I mean in this XML line:
<path stroke="green" fill="green" fill-opacity="0.2" stroke-width="0.005" stroke-linejoin="round" d="M -1,0.0238095 -1,-0.942857 1,-0.942857 1,0.0238095 0.5,0.0238095 0.5,-0.5 -0.5,-0.5 -0.5,0.0238095 z" />
when you double click fill-opacity
whole keyword must be selected.
Of course this is not the case in C++ where - operator exists.
Hello @nickreserved ,
Feel free to test the "BETA/RC PortableApps", version "Notepad3Portable_5.22.829.1_beta.paf" or newer, see 1st list in issue #1129.
"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension.
Also, feel free to test the "BETA/RC Setup", version "Notepad3_5.22.829.1_beta_Setup" or newer, see the 2nd list in issue #1129.
Comments and suggestions are welcome... 😃
XML code and C++ code follows.
cout << a-b << "\n";
Double click on XML code "property" must select "property-prop". Double click on C++ code "a" must select "a" only (not "a-b"). So, what a token is, depends on the language.
Στις Δευ 29 Αυγ 2022 στις 4:39 μ.μ., ο/η Pairi Daiza < @.***> έγραψε:
Hello @nickreserved https://github.com/nickreserved ,
Feel free to test the "BETA/RC PortableApps", version " Notepad3Portable_5.22.829.1_beta.paf" or newer, see 1st list in issue #1129 https://github.com/rizonesoft/Notepad3/issues/1129.
- Notepad3Portable_5.22.829.1_beta.paf.exe.7z https://workupload.com/file/fw6v4NGjdLp -s
"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension https://workupload.com/file/URGb8YS6.
Also, feel free to test the "BETA/RC Setup", version " Notepad3_5.22.829.1_beta_Setup" or newer, see the 2nd list in issue #1129 https://github.com/rizonesoft/Notepad3/issues/1129.
Comments and suggestions are welcome... 😃
— Reply to this email directly, view it on GitHub https://github.com/rizonesoft/Notepad3/issues/4095#issuecomment-1230322626, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3YX73QFA7EPPTX4VGNLDLV3S4R7ANCNFSM5YCIFI2A . You are receiving this because you were mentioned.Message ID: @.***>
Hello,
current beta version renames obscure Accelerated Word Navigation
to Alternate Word Separators
.
If the word selection (e.g. double-click) is too much, you can limit it by settings:
e.g. [Settings2] ExtendedWhiteSpaceChars=+#&%$
This will add these characters to the default set of "Alternate Word Separators".
Above setting, for example, will select "blah-blub" as word, but not "blah+blub" (in Alternate Word Separators
mode).
(Whitespaces and Linebreaks are fixed separators)
It would be nice to have Lexer dependant "token separators", but this is beyond current development scope 😢.