(line, ch, outside, xRel)
| 1758 | // is true, that means the coordinates lie outside the line's |
| 1759 | // vertical range. |
| 1760 | function PosWithInfo(line, ch, outside, xRel) { |
| 1761 | var pos = Pos(line, ch); |
| 1762 | pos.xRel = xRel; |
| 1763 | if (outside) pos.outside = true; |
| 1764 | return pos; |
| 1765 | } |
| 1766 | |
| 1767 | // Compute the character position closest to the given coordinates. |
| 1768 | // Input must be lineSpace-local ("div" coordinate system). |
no test coverage detected