move `getCaretPosition`, `setCaretPosition` to WalkontableDom