DefaultContent.indexLines

Calculates the indexes of each line of text in the given range. <p>

@param offset the logical start offset of the text lineate @param length the length of the text to lineate, includes gap @param numLines the number of lines to initially allocate for the line index array, passed in for efficiency (the exact number of lines may be known) @return a line indexes array where each line is identified by a start offset and a length

  1. void indexLines()
  2. int[][] indexLines(int offset, int length, int numLines)
    class DefaultContent
    int[][]
    indexLines
    (
    int offset
    ,
    int length
    ,
    )

Meta