DefaultContent.lineCount

Returns the number of lines that are in the specified text. <p>

@param startOffset the start of the text to lineate @param length the length of the text to lineate @return number of lines

  1. int lineCount(int startOffset, int length)
    class DefaultContent
    int
    lineCount
  2. int lineCount(String text)

Meta