/// <summary>
 /// Get the Line with Line-Number x
 /// </summary>
 /// <param name="line">Linenumber</param>
 /// <returns></returns>
 public CodeTokenLine QueryCodeTokenLine(int line)
 {
     CodeTokenLine tokline = new CodeTokenLine();
     if(_codeLineSegments.ContainsKey(line)) {
         tokline = _codeLineSegments[line];
     }
     return tokline;
 }
 public CodeTokenLine GetNextLine(int currentLine)
 {
     CodeTokenLine nextLine = new CodeTokenLine();
     for(int i = currentLine + 1; i <= _maxLine; i++) {
         if(_codeLineSegments.ContainsKey(i)) {
             nextLine = _codeLineSegments[i];
             break;
         }
     }
     return nextLine;
 }