RE: Capitalisation command or macro ?

Matthijs van Aalten <[email protected]>
Newsgroups gmane.editors.nedit.user
Message-ID <A2403073D589354FB342892C1CB8F906010A4800FB@EU1RDCRDC1WX029.exi.nxp.com>
> Nedit comrades,
> I have to capitalise a pile of text  - massive list of book titles, eg
> "night of the living dead" goes to 'Night Of The Living Dead". I was sure
> nedit had this built in but just can't find it. Help appreciated.

I'm not sure if you like a solution like this, but try:
- Menu => Search => Replace...
- String to find: <\l+>
  (so left-pointy-bracket, backslash, lower-case letter L, plus-sign and right-pointy-bracket)
- Replace With: \u&
  (so backslach, lower-case letter U, ampersand)
- Toggle-buttons: Regular Expression on, all others off
- Hit 'Replace all in: Window'...

This should capitalize all first letters of all words in your current editing window.

Good luck,
Matthijs
-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.