Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.