Re: hyperlink handler for IP addresses

Todd Whiteman <[email protected]> Wed, 16 Mar 2011 09:47:34 -0700
Newsgroups gmane.comp.ide.komodo.general
Message-ID <[email protected]>
Thanks Trent, added it to trunk:
http://svn.openkomodo.com/openkomodo/revision?rev=7402

On 11-03-04 12:11 PM, Trent Mick wrote:
> var ipAddressHandler = new ko.hyperlinks.RegexHandler(
>        "IP address",
>        new RegExp("(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})"),
>        ko.browse.openUrlInDefaultBrowser,
>        "http://$1",
>        null,
>        Components.interfaces.ISciMoz.INDIC_PLAIN,
>        RGB(0x60,0x90,0xff));
_______________________________________________
Komodo-discuss mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss