Author Topic: How do I disable the underlining of http addresses  (Read 5180 times)

Steve_L

  • Community Member
  • Posts: 6
  • Hero Points: 0
How do I disable the underlining of http addresses
« on: October 26, 2009, 07:45:54 PM »
Hi,

I am new to SlickEdit.  I recently wrote a batch file that contained an http address, e.g. http://svn.gem.com/svn/_project.  SlickEdit is underlining the http address making the underscore indistinguishable.  Is there a way to disable the underlining of http addresses.

Thanks.

Ryan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 986
  • Hero Points: 77
Re: How do I disable the underlining of http addresses
« Reply #1 on: October 26, 2009, 08:09:42 PM »
Looks like the only way to disable this is to set def_url_support to 0  :-\.  Go to Macro > Set Macro Variable, and in the 'Variable' field type def_url_support, and in the 'Value' field type 0.  Click OK.  Let me know if this works for you.

- Ryan

Steve_L

  • Community Member
  • Posts: 6
  • Hero Points: 0
Re: How do I disable the underlining of http addresses
« Reply #2 on: October 26, 2009, 08:27:42 PM »
Ryan,

Worked great.

Thanks,
Steve.

Scott H

  • Senior Community Member
  • Posts: 240
  • Hero Points: 9
Re: How do I disable the underlining of http addresses
« Reply #3 on: October 26, 2009, 08:46:21 PM »
To disable the underlining for http:// only, go to Tools > Options, then expand "Network & Internet Options" and select "URI Schemes".  If you take "http" out of the list, then http:// addresses won't be underlined and clickable in the editor.
« Last Edit: October 26, 2009, 08:48:50 PM by Scott H »

Steve_L

  • Community Member
  • Posts: 6
  • Hero Points: 0
Re: How do I disable the underlining of http addresses
« Reply #4 on: October 26, 2009, 09:31:23 PM »
Hi Scott,

How does your solution differ from the one Ryan suggested?  Do they both modify the def_url_support variable?

Thanks.

Regards,
Steve

Scott H

  • Senior Community Member
  • Posts: 240
  • Hero Points: 9
Re: How do I disable the underlining of http addresses
« Reply #5 on: October 27, 2009, 12:01:14 PM »
The way that I posted just disables it for a single protocol (http in this case).  I just put it up there as another way to do it that didn't tinker with the def vars.