public int FindLineNumberForCharacterIndex(int pos) { return this.scintillaControl1.LineFromPosition(pos) + 1; }