Eclipse Platform
2.0

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 visible region.
 

Method Detail

setMarkAtCursor

public void setMarkAtCursor(boolean set)
Sets or clears a mark at the current cursor position.

Parameters:
set - sets the mark if true, clears otherwise.

swapMarkAndCursor

public void swapMarkAndCursor()
Swaps the mark and cursor position if the mark is in visible region.


Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.