Home Download Buy Blog Forum Support

Api for arbitrary extra spacing between line?

Api for arbitrary extra spacing between line?

Postby erinata on Tue Mar 27, 2012 10:45 pm

http://dl.dropbox.com/u/7429931/sublime ... 20idea.jpg

Does the API of sublime text 2 support something like this? This picture is photoshopped of course. And you can see that both panes are viewing exactly the same document for illustration (It can be different docs though). I arbitrarily add some space at the place where I circled, WITHOUT actually changing the document itself.

Is that possible?
erinata
 
Posts: 29
Joined: Wed Jan 25, 2012 12:19 pm

Re: Api for arbitrary extra spacing between line?

Postby C0D312 on Tue Mar 27, 2012 11:02 pm

If you have wrapping enabled and the line spans past the line, ST will create this arbitrary spacing. However, it's not API-accessible.
Screen Shot 2012-03-27 at 6.59.24 PM.png
Screen Shot 2012-03-27 at 6.59.24 PM.png (51.49 KiB) Viewed 450 times
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am


Return to Plugin Development

Who is online

Users browsing this forum: Majestic-12 [Bot], Yahoo [Bot] and 6 guests