Home Download Buy Blog Forum Support

CursorRuler - Marks cursor position with dynamic rulers

Re: CursorRuler - Marks cursor position with dynamic rulers

Postby zsytssk on Fri Mar 08, 2013 8:14 am

could you turn ruler into a dotted line,just like editplus。 a real line make me distracting。
zsytssk
 
Posts: 5
Joined: Tue Nov 20, 2012 3:30 am

Re: CursorRuler - Marks cursor position with dynamic rulers

Postby icylace on Fri Mar 08, 2013 4:35 pm

I want to be able to do that too but to the best of my knowledge Sublime Text currently can only do solid lines for rulers. If and when it gains that capability then I'll be able to incorporate it into CursorRuler.
icylace
 
Posts: 47
Joined: Mon Jan 14, 2013 7:24 am

Re: CursorRuler - Marks cursor position with dynamic rulers

Postby lawlist on Thu Mar 21, 2013 5:52 pm

I am using CursorRuler and am happy with it. Perhaps someday there will also be a CursorHorizontalRuler plugin, or additional options within CursorRuler. For anyone who needs additional visual aids, there is the BlockCursor plugin, and also the following modifications that do not require a plugin:

To change the caret / cursor from a vertical line to an underscore, this is the user profile line of code:

Code: Select all
"inverse_cursor_state": true,


One can also change the color of the caret / cursor in the applicable theme file:

Code: Select all
<key>caret</key>
<string>#FF0000</string>
lawlist
 
Posts: 54
Joined: Thu Feb 21, 2013 6:47 pm

Re: CursorRuler - Marks cursor position with dynamic rulers

Postby icylace on Fri Mar 22, 2013 12:11 am

Thank you for the kind words and tips! I'm slowly working on new things for CursorRuler. I'll say more when the time is right.
icylace
 
Posts: 47
Joined: Mon Jan 14, 2013 7:24 am

Re: CursorRuler - Marks cursor position with dynamic rulers

Postby askeeve on Tue Jul 01, 2014 3:56 pm

While Cursor Ruler certainly helps with this, I can't help but feel like this should really be a built-in setting. I would much rather have the column highlight (or ruler) be as thick as the row highlight and similarly affect only the background. Using cursor ruler somewhat like an outline at the moment and it works well (kudos to the dev) but it's more distracting than the row highlight.
askeeve
 
Posts: 51
Joined: Wed Apr 18, 2012 1:33 pm

Re: CursorRuler - Marks cursor position with dynamic rulers

Postby icylace on Wed Jul 02, 2014 4:34 am

I completely agree with some sort of built-in support. There were some things I wanted to do with CursorRuler but couldn't because of API limitations. For example, line styling (e.g. dotted, dashed, etc.). In a perfect world the core functionality of my plugin would be built-in and hackable through a nice API. But, alas :)

CursorRuler can be made thicker to simulate full column highlighting or as thick as you need to match your row highlight. The 4th example in the description of the cursor_rulers setting is one way of doing it:

Code: Select all
{
  "cursor_rulers": [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9]
}


Despite being awkward, there is a way to change the ruler colors as described here. If you set the color to match your row highlight or even to a more subtle level I bet that would help alleviate it being distractive.
icylace
 
Posts: 47
Joined: Mon Jan 14, 2013 7:24 am

Previous

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 16 guests