ruta-ep-ide/src/main/java/org/apache/uima/ruta/ide/core/CodeModel.java [27:38]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public CodeModel(String code) {
    this.codeLines = code.split("\n");
    int count = this.codeLines.length;

    this.codeLineLengths = new int[count];

    int sum = 0;
    for (int i = 0; i < count; ++i) {
      this.codeLineLengths[i] = sum;
      sum += this.codeLines[i].length() + 1;
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



ruta-ep-ide/src/main/java/org/apache/uima/ruta/ide/core/parser/DLTKTokenConverter.java [35:46]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public CodeModel(String code) {
      this.codeLines = code.split("\n");
      int count = this.codeLines.length;

      this.codeLineLengths = new int[count];

      int sum = 0;
      for (int i = 0; i < count; ++i) {
        this.codeLineLengths[i] = sum;
        sum += this.codeLines[i].length() + 1;
      }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



