(line, ch, sticky, outside, xRel)
| 2760 | // is true, that means the coordinates lie outside the line's |
| 2761 | // vertical range. |
| 2762 | function PosWithInfo(line, ch, sticky, outside, xRel) { |
| 2763 | var pos = Pos(line, ch, sticky); |
| 2764 | pos.xRel = xRel; |
| 2765 | if (outside) { pos.outside = true; } |
| 2766 | return pos |
| 2767 | } |
| 2768 | |
| 2769 | // Compute the character position closest to the given coordinates. |
| 2770 | // Input must be lineSpace-local ("div" coordinate system). |
no test coverage detected