(line, ch, outside, xRel)
| 2767 | // is true, that means the coordinates lie outside the line's |
| 2768 | // vertical range. |
| 2769 | function PosWithInfo(line, ch, outside, xRel) { |
| 2770 | var pos = Pos(line, ch); |
| 2771 | pos.xRel = xRel; |
| 2772 | if (outside) pos.outside = true; |
| 2773 | return pos; |
| 2774 | } |
| 2775 | |
| 2776 | // Compute the character position closest to the given coordinates. |
| 2777 | // Input must be lineSpace-local ("div" coordinate system). |
no outgoing calls
no test coverage detected