Package org.eclipse.jface.text
Interface IMarkRegionTarget
- All Known Implementing Classes:
MarkRegionTarget
public interface IMarkRegionTarget
A mark region target to support marked regions as found in emacs.
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setMarkAtCursor
(boolean set) Sets or clears a mark at the current cursor position.void
Swaps the mark and cursor position if the mark is in the visible region.
-
Method Details
-
setMarkAtCursor
void setMarkAtCursor(boolean set) Sets or clears a mark at the current cursor position.- Parameters:
set
- sets the mark iftrue
, clears otherwise.
-
swapMarkAndCursor
void swapMarkAndCursor()Swaps the mark and cursor position if the mark is in the visible region.
-