mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-05 04:06:37 +02:00
documented lineAndColumnFromChar
This commit is contained in:
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)
|
||||
{
|
||||
var lineEntry = rep.lines.atOffset(x);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user