(anchor, head)
| 11987 | return Pos(cur.line + offsetLine, cur.ch + offsetCh); |
| 11988 | } |
| 11989 | function getOffset(anchor, head) { |
| 11990 | return { |
| 11991 | line: head.line - anchor.line, |
| 11992 | ch: head.line - anchor.line |
| 11993 | }; |
| 11994 | } |
| 11995 | function commandMatches(keys, keyMap, context, inputState) { |
| 11996 | // Partial matches are not applied. They inform the key handler |
| 11997 | // that the current key sequence is a subsequence of a valid key |
no outgoing calls
no test coverage detected