(a, b)
| 11 | // Compare two positions, return 0 if they are the same, a negative |
| 12 | // number when a is less, and a positive number otherwise. |
| 13 | export function cmp(a, b) { return a.line - b.line || a.ch - b.ch } |
| 14 | |
| 15 | export function equalCursorPos(a, b) { return a.sticky == b.sticky && cmp(a, b) == 0 } |
| 16 |
no outgoing calls
no test coverage detected