Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5764
    sort
    Member

    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

    #5779
    sort
    Member

    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

    #5785
    sort
    Member

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

    #5791
    sort
    Member

    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

    #10218
    hamasaki
    Member

    Hello,

    Is this plugin still available?

    Thank you.

    #10250
    hamasaki
    Member

    Doesn`t matter as the $ highlight works great in the current version.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.