(line, ch, outside, xRel)
| 2873 | // is true, that means the coordinates lie outside the line's |
| 2874 | // vertical range. |
| 2875 | function PosWithInfo(line, ch, outside, xRel) { |
| 2876 | var pos = Pos(line, ch); |
| 2877 | pos.xRel = xRel; |
| 2878 | if (outside) pos.outside = true; |
| 2879 | return pos; |
| 2880 | } |
| 2881 | |
| 2882 | // Compute the character position closest to the given coordinates. |
| 2883 | // Input must be lineSpace-local ("div" coordinate system). |
no outgoing calls
no test coverage detected