Sublime Forum

Underline current line

#1

It’s obvious how to highlight the current line:

"highlight_line": false,

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

Thanks.

0 Likes

#2

I don’t believe underline is possible in vanilla Sublime at all.

0 Likes

#3

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.

0 Likes

#4

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

0 Likes

#5

If you have in trouble, I can probably point you in the right direction.

0 Likes

#6

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.

0 Likes