Home Download Buy Blog Forum Support

Bookmarks redesign proposal

Bookmarks redesign proposal

Postby artee on Tue Jun 16, 2009 11:35 am

Hi

There is another proposal to improve rendering of bookmarks:
Image
Because Sublime provides support for multiple bookmarks in one line it's hard to determine how many of them are there.
This simple solution should improve this mechanism.
It can be done in the same way as bookmarks indicator next to line number - small picture (stored in the theme folder) can be used to indicate bookmark position inside the line.
Please feel free to share your opinion :)

reqards
Artur
artee
 
Posts: 32
Joined: Sat May 30, 2009 10:33 pm

Re: Bookmarks redesign proposal

Postby gpfsmurf on Tue Jun 16, 2009 4:59 pm

I agree, the exact position of bookmarks should be shown, especially when there are two bookmarks on the same line.
gpfsmurf
 
Posts: 211
Joined: Mon Jun 23, 2008 6:31 pm

Re: Bookmarks redesign proposal

Postby tgkeul on Tue Jun 16, 2009 7:20 pm

MultiEdit displays a little digit in the bookmark marker in the gutter. I created a bookmark by ctrl+shift+<digit> and jumped to it by ctrl+<digit>. These bookmarks were file specific and persistent.

I like this simple approach very much and used it much more and effective than the current sublime style bookmarks.

As only 10 bookmarks were possible (a number I seldom reached) it made little sense to put more than one bookmark in a line. In the rare cases with two bookmarks in the same line only one was shown. The hidden one got displayed when the other bookmark was placed elsewere.

And - as you were the malefactor placing two bookmarks in a line you have to remember by yourself 8-)
tgkeul
 
Posts: 140
Joined: Tue Dec 02, 2008 9:35 pm

Re: Bookmarks redesign proposal

Postby artee on Tue Jun 16, 2009 8:04 pm

tgkeul wrote:MultiEdit displays a little digit in the bookmark marker in the gutter. I created a bookmark by ctrl+shift+<digit> and jumped to it by ctrl+<digit>.

Bookmark indicator is defined by theme as a small picture (bookmark.png) and from my point of view there are no enough space to display two digits here.
But it would be great if number of bookmarks in the line will be displayed as a tooltip on bookmark indicator at row level.

tgkeul wrote:As only 10 bookmarks were possible (a number I seldom reached)

In typical work I use several dozen of bookmarks :)

tgkeul wrote:And - as you were the malefactor placing two bookmarks in a line you have to remember by yourself 8-)

In the future bookmarks probably will be stored in session file (I hope ;) ).
What about case when you are opening session from previous week?
;)
artee
 
Posts: 32
Joined: Sat May 30, 2009 10:33 pm

Re: Bookmarks redesign proposal

Postby jps on Fri Jun 19, 2009 2:39 pm

Thanks for the mockup, I always enjoy seeing them. I quite like your bookmark indicator icon.

I'm not entirely sold on showing bookmarks within the text, my feeling is it just doesn't gain very much, and it does have the potential to be distracting. I've implemented a variation on your suggestion for the next version though, where a different bookmark icon will be used if there are multiple bookmarks on the one line.

re: numbered bookmarks. I've previously used editors with numbered bookmarks, and my preference is for the current bookmark system. However, one of the goals for the API is to allow bookmarks to be implemented entirely via plugins, so adding support for numbered bookmarks should be possible in the future with a plugin.
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 11 guests