コード例 #1
0
ファイル: RuleMatch.java プロジェクト: knok/languagetool
 /** Get the line number in which the match ends (zero-based). */
 public int getEndLine() {
   return linePosition.getEnd();
 }
コード例 #2
0
ファイル: RuleMatch.java プロジェクト: knok/languagetool
 /** Set the line number in which the match occurs (zero-based). */
 public void setLine(final int fromLine) {
   linePosition = new LinePosition(fromLine, linePosition.getEnd());
 }