Could anyone say how to convert offset to TextPos in CodeArea? For example, in RTFX CodeArea we have: var pos = codeArea.offsetToPosition(offset, Bias.Backward); var paragraph = pos.getMajor(); Best regards, Pavel