Sync editor cursor with :lineIndex + $wallet update document on 'change'