Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

notepad++ select hyphenated text

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++?

like image 340
t q Avatar asked May 30 '13 14:05

t q


People also ask

How do I select a specific text in Notepad ++?

Place your cursor at the beginning position where you want to begin selecting text. Press and hold the “Shift” and “Alt” keys on your keyboard. Continue holding “Shift” and “Alt” while using the “Down” and “Right” arrow keys on your keyboard to select the text as desired.


1 Answers

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.

like image 155
benny-ben Avatar answered Sep 18 '22 15:09

benny-ben