EmEditor (text editor) Forum Index
   Questions and Answers about Plug-ins
     New! CustomWordSelect plugin
Register To Post

Threaded | Oldest First Previous Topic | Next Topic | Bottom
Poster Thread
hamasaki
Posted on: 3/22/2012 4:32 am
Not too shy to talk
Joined: 3/19/2012
From:
Posts: 23
Re: New! CustomWordSelect plugin
Doesn`t matter as the $ highlight works great in the current version.
hamasaki
Posted on: 3/19/2012 11:11 am
Not too shy to talk
Joined: 3/19/2012
From:
Posts: 23
Re: New! CustomWordSelect plugin
Hello,

Is this plugin still available?

Thank you.
sort
Posted on: 5/18/2008 9:56 pm
Just popping in
Joined: 5/10/2008
From:
Posts: 8
Re: New! CustomWordSelect plugin
Updated 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.

Download: http://oooh.eisbaer.be/CustomWordSelect.zip
sort
Posted on: 5/17/2008 3:03 pm
Just popping in
Joined: 5/10/2008
From:
Posts: 8
Re: New! CustomWordSelect plugin
Here 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
|<[a-zA-Z]+(\s*/?>)?|
|</[a-zA-Z]+>|
sort
Posted on: 5/14/2008 10:01 am
Just popping in
Joined: 5/10/2008
From:
Posts: 8
Re: New! CustomWordSelect plugin
I have posted a new version of this. Regexs will now do a full match instead of just checking character type.

Download: http://oooh.eisbaer.be/CustomWordSelect.zip
sort
Posted on: 5/10/2008 2:06 am
Just popping in
Joined: 5/10/2008
From:
Posts: 8
New! CustomWordSelect plugin
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.

Download: http://oooh.eisbaer.be/CustomWordSelect.zip
Threaded | Oldest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文