(state: vimCursorState)
| 185 | } |
| 186 | |
| 187 | function encodeStateKey(state: vimCursorState): string { |
| 188 | return `${state.offset}:${state.preferredX}`; |
| 189 | } |
| 190 | |
| 191 | function decodeStateKey(key: string): vimCursorState { |
| 192 | const [offsetString, preferredXString] = key.split(':'); |
no outgoing calls
no test coverage detected