Home Download Buy Blog Forum Support

Markers (a la Emacs)

Markers (a la Emacs)

Postby hsu on Tue Apr 30, 2013 1:43 pm

Does sublime has the concept that is called a Marker in Emacs?

Explanation: A marker is a Lisp object used to specify a position in a buffer relative to the surrounding text.

A marker changes its offset from the beginning of the buffer automatically whenever text is inserted or deleted, so that it stays with the two characters on either side of it.

Cheers,
Hugo
hsu
 
Posts: 25
Joined: Fri Feb 01, 2013 4:14 pm

Re: Markers (a la Emacs)

Postby adzenith on Tue Apr 30, 2013 2:30 pm

Regions do this, and so do bookmarks.
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: Markers (a la Emacs)

Postby hsu on Tue Apr 30, 2013 5:30 pm

You're right, thanks. I was testing regions without adding them to the view, so they were just static objects.
hsu
 
Posts: 25
Joined: Fri Feb 01, 2013 4:14 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 34 guests