Used to find the target position for horizontal cursor motion.start is a { line , ch } object, amount an integer(may be negative), and unit one of the string "char", "column", or "word". Will return a position that is produced by moving amount times the distance specified by unit.
(start: CodeMirror.Position, amount: number, unit: string, visually: boolean)
| 110 | When visually is true , motion in right - to - left text will be visual rather than logical. |
| 111 | When the motion was clipped by hitting the end or start of the document, the returned value will have a hitSide property set to true. */ |
| 112 | findPosH(start: CodeMirror.Position, amount: number, unit: string, visually: boolean): { line: number; ch: number; hitSide?: boolean; }; |
| 113 | |
| 114 | /** Similar to findPosH , but used for vertical motion.unit may be "line" or "page". |
| 115 | The other arguments and the returned value have the same interpretation as they have in findPosH. */ |
no outgoing calls
no test coverage detected