(a, b)
| 984 | // Compare two positions, return 0 if they are the same, a negative |
| 985 | // number when a is less, and a positive number otherwise. |
| 986 | function cmp(a, b) { return a.line - b.line || a.ch - b.ch } |
| 987 | |
| 988 | function equalCursorPos(a, b) { return a.sticky == b.sticky && cmp(a, b) == 0 } |
| 989 |
no outgoing calls
no test coverage detected