public class AssemblyView extends CodeView
This class represents the assembly view.
Modifier and Type | Method and Description |
---|---|
CodePosition |
getCodePosition(int lineindex)
Get the code position at a given line.
|
boolean |
setCodePosition(CodePosition pos)
Set the caret on the specified code position.
|
getCodePosition
getActiveItem
getCaretLine, getCaretOffset, getLine, getLineCount, getOffsetAtLine, getText, gotoLine, setCaretOffset, setCaretPosition
public CodePosition getCodePosition(int lineindex)
CodeView
Get the code position at a given line.
getCodePosition
in class CodeView
lineindex
- zero-based line indexpublic boolean setCodePosition(CodePosition pos)
Set the caret on the specified code position. Currently, the only types of positions supported by this method are: class, field, method.
pos
- code position (instruction-level positions are not currently supported)