hyperlink handler for IP addresses

Trent Mick <[email protected]> Fri, 4 Mar 2011 12:11:52 -0800
Newsgroups gmane.comp.ide.komodo.general
Message-ID <[email protected]>
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));


Cheers,
Trent

-- 
Trent Mick
_______________________________________________
Komodo-discuss mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss