documented lineAndColumnFromChar
parent
5833cb1037
commit
2ccc70daf6
|
@ -2203,6 +2203,9 @@ function Ace2Inner(){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Converts the position of a char (index in String) into a [row, col] tuple
|
||||||
|
*/
|
||||||
function lineAndColumnFromChar(x)
|
function lineAndColumnFromChar(x)
|
||||||
{
|
{
|
||||||
var lineEntry = rep.lines.atOffset(x);
|
var lineEntry = rep.lines.atOffset(x);
|
||||||
|
|
Loading…
Reference in New Issue