| java.lang.Object org.eclipse.ui.texteditor.MarkRegionTarget
MarkRegionTarget | public class MarkRegionTarget implements IMarkRegionTarget(Code) | | Default implementation of IMarkRegionTarget using ITextViewer
and IStatusLineManager .
since: 2.0 |
Constructor Summary | |
public | MarkRegionTarget(ITextViewer viewer, IStatusLineManager manager) Creates a MarkRegionTaret. |
Method Summary | |
final protected static boolean | isVisible(ITextViewer viewer, int offset) Tells whether the given offset is visible in the given text viewer. | public void | setMarkAtCursor(boolean set) | public void | swapMarkAndCursor() |
MarkRegionTarget | public MarkRegionTarget(ITextViewer viewer, IStatusLineManager manager)(Code) | | Creates a MarkRegionTaret.
Parameters: viewer - the text viewer Parameters: manager - the status line manager |
isVisible | final protected static boolean isVisible(ITextViewer viewer, int offset)(Code) | | Tells whether the given offset is visible in the given text viewer.
Parameters: viewer - the text viewer Parameters: offset - the offset to check true if the given offset is visible in the given text viewer since: 2.1 |
setMarkAtCursor | public void setMarkAtCursor(boolean set)(Code) | | |
swapMarkAndCursor | public void swapMarkAndCursor()(Code) | | |
|
|