- AuthorPosts
- February 14, 2018 at 9:31 am #22850LTTParticipant
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 + SelectSample URL:
http://www.x.com/%20Issues:
** 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”
$00ff0080And 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).May 10, 2018 at 1:15 am #23148LTTParticipantURLs:
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 + SelectSample URL:
http://www.x.com/%20Issues:
** 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?
May 10, 2018 at 1:17 am #23149LTTParticipantMore 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.May 10, 2018 at 2:01 pm #23156Yutaka EmuraKeymasterCurrently, 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,January 2, 2020 at 7:28 am #26544LTTParticipantAlso hope the tooltip can be shown even when the hovered Active String is in a selection.
> ** The Percent-encoding in the URL never shows the tooltip.
▲ I noticed this issue is fixed.
Hope there will be more optimization when opportunities mature.New found issue:
URLs: Hovered = a macro that will show a tooltip (using ShowTip method).
Percent-encoding: Hovered = Decode and Show as Tooltip.
** When a Percent-encoding string in a URL is hovered, the tooltip will flicker.February 18, 2020 at 10:36 am #26626LTTParticipantAnother example:
—————
Display settings:URLs:
Style = UnderlineString enclosed by double quotation marks “…”:
Style = Dotted Line—————
Active String settings:
URLs:
Hovered event = run this macro:
[code]ShowTip(‘Open‘, eeShowTipActiveString);[/code]—————
Sample text:
“www.url”—————
** When the URL is hovered, the tooltip is not correct.
(The tooltip text should be “Open” and clickable.)February 18, 2020 at 10:43 am #26628LTTParticipantThe macro:
pastebin.com/P6r36UX4September 19, 2021 at 5:09 pm #26627LTTParticipantThe macro:
https://pastebin.com/P6r36UX4 - AuthorPosts
- You must be logged in to reply to this topic.