Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ui-dev] How to set the current caret position by lineNo and column

I am open a text editor(TextEditor) in the workbench, and keep the IEditorInput reference.
How can I set the current caret position for that text editor?
I just have a lineNo and column information, no the position(offset) of the document.
Are there some lineNo/Column-position convert API provided by text editor?

Back to the top