- AuthorPosts
- May 10, 2008 at 10:06 am #5764sortMember
This plugin will let you configure which characters are selected when double-clicking on text. It works by taking a file with a list of regular expressions which for now match against characters only.
This project started because I wanted dollar signs included when doubleclicking on PHP variables, for example “$somevar”. EmEditor as it is will select “somevar” but not the dollar sign. With this plugin and the regex [$_a-zA-Z0-9], EmEditor will select the full variable name.
For Em7 and includes source.
May 14, 2008 at 6:01 pm #5779sortMemberI have posted a new version of this. Regexs will now do a full match instead of just checking character type.
May 17, 2008 at 11:03 pm #5785sortMemberHere are some more regexs for working with HTML.
; HTML entities (must come before #color regex or  may not select properly)
/&[#da-zA-Z]+;/; HTML #color
/#[da-fA-F]+/; CSS length value
/[-+]?d+(.d+)?(em|ex|pt|px|in|cm|mm|pc)b/; html tags
|)?|
||May 19, 2008 at 5:56 am #5791sortMemberUpdated with the ability to “drag and select” after double-click selecting. It will simply select characters up to the mouse cursor, instead of selecting to the next word boundary.
March 19, 2012 at 7:11 pm #10218hamasakiMemberHello,
Is this plugin still available?
Thank you.
March 22, 2012 at 12:32 pm #10250hamasakiMemberDoesn`t matter as the $ highlight works great in the current version.
- AuthorPosts
- You must be logged in to reply to this topic.