Browse Source

small addition to fix SD-1862 - Folding tooltip text should be truncated, if too long

pull/23/head
Siegfried Pammer 14 years ago
parent
commit
d33c4781c8
  1. 2
      src/AddIns/DisplayBindings/AvalonEdit.AddIn/Src/CodeEditorView.cs

2
src/AddIns/DisplayBindings/AvalonEdit.AddIn/Src/CodeEditorView.cs

@ -454,6 +454,8 @@ namespace ICSharpCode.AvalonEdit.AddIn
current = current.NextLine; current = current.NextLine;
lineCount++; lineCount++;
} }
if (current != endLine.NextLine)
builder.Append("...");
return builder.ToString(); return builder.ToString();
} }

Loading…
Cancel
Save