(line, ch, sticky, outside, xRel)
| 2692 | // is true, that means the coordinates lie outside the line's |
| 2693 | // vertical range. |
| 2694 | function PosWithInfo(line, ch, sticky, outside, xRel) { |
| 2695 | var pos = Pos(line, ch, sticky); |
| 2696 | pos.xRel = xRel; |
| 2697 | if (outside) { pos.outside = outside; } |
| 2698 | return pos |
| 2699 | } |
| 2700 | |
| 2701 | // Compute the character position closest to the given coordinates. |
| 2702 | // Input must be lineSpace-local ("div" coordinate system). |
no test coverage detected