HowTo or Enhancement: Double-Click doesn't include words that contain a dash, and auto-highlighting doesn't highlight all strings that match the selected text
-
Is there any way to get N++ to, when you doubleclick a word that contains dashes, to select the entire string, the same as it does for underscores?
For example, if I have this text “wildcard-cert-key”, and I doubleclick cert, it only selects cert. I want it to auto-select the entire string “wildcard-cert-key”.
Furthermore, the auto-highlighting of words will, in the above example, highlight “cert” everywhere; however if the entire “wildcard-cert-key” string is manually highlighted, I want that to be highlighted everywhere.
Another Example: If I highlight “ca cert-key”, then everywhere that text string exists should be auto-highlighted.
Thanks!
-
@KyferEz , Welcome to the Notepad++ Community.
Settings> Preferences > Delimiter, enable
☑Add your character as part of word, and include the hyphen-(and any other punctuation you want considered part of a “word”).
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login