Home Download Buy Blog Forum Support

Underline current line

Underline current line

Postby AGS on Thu Nov 29, 2012 11:24 pm

It's obvious how to highlight the current line:

Code: Select all
"highlight_line": false,


However, is there a way to underline the current line?

Thanks.
AGS
 
Posts: 32
Joined: Mon Aug 20, 2012 5:58 pm

Re: Underline current line

Postby nick. on Fri Nov 30, 2012 6:44 pm

I don't believe underline is possible in vanilla Sublime at all.
nick.
 
Posts: 266
Joined: Wed Jan 18, 2012 3:45 am

Re: Underline current line

Postby facelessuser on Fri Nov 30, 2012 7:15 pm

You could underline it with a plugin. You just need to code the plugin to create a region with the correct setup.

I underline stuff in a number of my plugins.
Image
Last edited by facelessuser on Sat Dec 01, 2012 3:21 am, edited 1 time in total.
facelessuser
 
Posts: 1576
Joined: Tue Apr 05, 2011 7:38 pm

Re: Underline current line

Postby AGS on Sat Dec 01, 2012 2:41 am

Thanks guys. @face, I figured you would have something in your quiver that addresses this! I'll start poking around.
AGS
 
Posts: 32
Joined: Mon Aug 20, 2012 5:58 pm

Re: Underline current line

Postby facelessuser on Sat Dec 01, 2012 3:20 am

AGS wrote:Thanks guys. @face, I figured you would have something in your quiver that addresses this! I'll start poking around.

If you have in trouble, I can probably point you in the right direction.
facelessuser
 
Posts: 1576
Joined: Tue Apr 05, 2011 7:38 pm

Re: Underline current line

Postby lawlist on Sat Mar 16, 2013 8:23 pm

Does anyone have a plugin they would be willing to share that does this, either underline, or outline, similar to the examples by facelessuser?

With regards to word-wrapped lines, it would be nice to only underline / outline whichever horizontal line the cursor is at. The default of highlight line can be visually confusing when dealing with word-wrapped lines.

Thanks.
lawlist
 
Posts: 54
Joined: Thu Feb 21, 2013 6:47 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 17 guests