do the following snippets behave the same way?

```js
editor.selection.moveToPosition(editor.getSelectionRange().end)
editor.navigateLineEnd()
editor.insert("\n")
```

```js
editor.selection.moveToPosition(editor.getSelectionRange().start)
editor.navigateLineStart()
editor.splitLIne()
```