notepad++ select hyphenated text

2020-02-28 03:16发布

I could'nt find a solution to a problem that has been hindering the use of notepad++.

When you double click text to highlight that text and others like it, camelCase or under_score words work great, but when hyphen-words-are-clicked this does not treat it as a single word and only highlights the segment between the "-".

question: how can you customize notepad++ so that hyphenated words are treated as single words? or does anyone know a text editor that does this?

saw this, but not sure how to implement it: http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Word_Customisation

this was really helpful: Where are the recorded macros stored in Notepad++?

7条回答
成全新的幸福
2楼-- · 2020-02-28 04:04

2018

I tried with the published solutions but when I move to another file I have to run the script again every time. So I did this way, in the menu:

Settings > Preferences > Delimiter

select:

  • Add you character as part of word

insert hyphen:

-

and it worked.

查看更多
登录 后发表回答