public void NewLineFromCurrentPosition() { TextLines.InsertLine( CurrentString + 1, CurrentChar < TextLines[CurrentString].Length ? TextLines[CurrentString].Substring(CurrentChar) : string.Empty); if (CurrentChar < TextLines[CurrentString].Length) { TextLines.RemoveInLine(CurrentString, CurrentChar); } CurrentPosition.Str++; CurrentPosition.Chr = 0; }