How to convert line number and column number into caretPosition
Posted: Mon Sep 20, 2021 8:02 pm
Hello,
I work with the version 22 of Oxygen SDK.
I want to use
But I only have a column and a line number.
How can i convert this two informations to a valid position ?
Thanks,
Regards,
Isabelle
I work with the version 22 of Oxygen SDK.
I want to use
Code: Select all
WSXMLTextEditorPage wsxmlTextEditorPage = (WSXMLTextEditorPage) editorAccess.getCurrentPage();
wsxmlTextEditorPage.setCaretPosition(position);
How can i convert this two informations to a valid position ?
Thanks,
Regards,
Isabelle