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
|
void
|
setMarkAtCursor
(boolean set)
Sets or clears a mark at the current cursor position. |
void
|
swapMarkAndCursor
()
Swaps the mark and cursor position if the mark is in the visible region. |
setMarkAtCursor
void setMarkAtCursor(boolean set)
- Sets or clears a mark at the current cursor position.
-
-
Parameters:
-
set
- sets the mark if true
, clears otherwise.
swapMarkAndCursor
void swapMarkAndCursor()
- Swaps the mark and cursor position if the mark is in the visible region.
-
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.