Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22850

    LTT
    Participant

    URLs:
    Hovered = None (or Decode and Show as Tooltip)
    M-Clicked = None (or None + Select)

    Percent-encoding:
    Hovered = Decode and Show as Tooltip
    M-Clicked = None + Select

    Sample URL:
    http://www.x.com/%20

    Issues:
    ** The Percent-encoding in the URL never shows the tooltip.
    ** Unable to select the Percent-encoding in the URL with M-clicking.

    So is it possible to make the priority adjustable (by reordering the Active String list)?

    ====================
    Another suggestion:
    I hope customized formats (e.g. regular expressions) can be added by the user.
    For example,

    More color formats used in different files:
    “255,0,128”
    “255 0 128”
    “ff0080”
    $00ff0080

    And I want to add some more URL prefixes.
    particularly, I want to highlight the CHM URLs in my files, e.g.:
    its:..\x.chm::/path/page.htm
    mk:@MSITStore:..\x.chm::/path/page.htm
    CHM URLs can be opened directly with hh.exe or IE-based browsers.
    I use a macro to determine what app should be run to open the URL.
    With Active String feature, the URL would be clickable. And the macro could be very simple (no need to recognize the string).

    #23148

    LTT
    Participant

    URLs:
    Hovered = None (or Decode and Show as Tooltip)
    M-Clicked = None (or None + Select)

    Percent-encoding:
    Hovered = Decode and Show as Tooltip
    M-Clicked = None + Select

    Sample URL:
    http://www.x.com/%20

    Issues:
    ** The Percent-encoding in the URL never shows the tooltip.
    ** Unable to select the Percent-encoding in the URL with M-clicking.

    So is it possible to make the priority adjustable (by reordering the Active String list)?

    Is it possible to make the Active-String recognition non-greedy?

    #23149

    LTT
    Participant

    More issues:

    Sample text: “www.test.me”

    Settings:
    Strings in “” are highlighted.

    Active String:
    Strings in “”: M-clicked = Select.

    ** Unable to select the URL in “” with M-click.

    Now go on with further settings:
    Style for strings in “”: Dotted Line.
    Style for URLs: Dotted Line (or Underline).

    Active String:
    URLs: M-clicked = Select.

    Now M-click the URL in “”.
    ** The double quotation marks are included in the selection.

    #23156

    Yutaka Emura
    Keymaster

    Currently, EmEditor active strings are related to highlighting, and those issues happen as you experienced. In order to resolve this issue, lots of code changes will be necessary and it might take some time. I will consider that in future versions.
    Thanks,

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.