Simplified isValidCursorPosition()
Simplified isValidCursorPosition()

corinthia/corinthia-editor,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editorlib,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editor,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editorlib