|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TextEditor
The text editor interface is implemented by any editor in the IDE which provides a plain text view. It provides operations which are common to plain text views.
For example, to open the default editor on a URL then jump to the fifth line of the file if the default editor is a text editor, you might use:
Editor editor = EditorUtil.openDefaultEditorInFrame( url ); if ( editor instanceof TextEditor ) { ((TextEditor)editor).gotoLine( 5, 1, true ); }
Method Summary | |
---|---|
boolean |
gotoLine(int line, int column, boolean highlightLine) Moves the current cursor position to indicated location, and optionally highlight the line. |
Method Detail |
---|
boolean gotoLine(int line, int column, boolean highlightLine)
line
- the line to go to (one-based)column
- the column to go to (one-based)highlightLine
- whether to highlight the specified line
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |