(line, ch, outside, xRel)
| 2881 | // is true, that means the coordinates lie outside the line's |
| 2882 | // vertical range. |
| 2883 | function PosWithInfo(line, ch, outside, xRel) { |
| 2884 | var pos = Pos(line, ch); |
| 2885 | pos.xRel = xRel; |
| 2886 | if (outside) pos.outside = true; |
| 2887 | return pos; |
| 2888 | } |
| 2889 | |
| 2890 | // Compute the character position closest to the given coordinates. |
| 2891 | // Input must be lineSpace-local ("div" coordinate system). |
no outgoing calls
no test coverage detected