documented lineAndColumnFromChar

pull/599/head
Matthias Bartelmeß 2012-04-05 15:25:17 +02:00
parent 5833cb1037
commit 2ccc70daf6
1 changed files with 3 additions and 0 deletions

View File

@ -2203,6 +2203,9 @@ function Ace2Inner(){
}
/*
Converts the position of a char (index in String) into a [row, col] tuple
*/
function lineAndColumnFromChar(x)
{
var lineEntry = rep.lines.atOffset(x);