Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix SD-1849 - Unhandled exception when replacing all text in text edi…

  • Loading branch information...
commit 5ef85c6c5e8bc68a146841d7a559ee5b9c23290b 1 parent 50a678c
Siegfried Pammer siegfriedpammer authored
2  src/AddIns/DisplayBindings/AvalonEdit.AddIn/Src/ChangeMarkerMargin.cs
View
@@ -50,8 +50,6 @@ protected override void OnRender(DrawingContext drawingContext)
if (textView != null && textView.VisualLinesValid) {
var zeroLineInfo = changeWatcher.GetChange(0);
- Debug.Assert(zeroLineInfo.Change == ChangeType.None || zeroLineInfo.Change == ChangeType.Deleted);
-
foreach (VisualLine line in textView.VisualLines) {
Rect rect = new Rect(0, line.VisualTop - textView.ScrollOffset.Y, 5, line.Height);
Please sign in to comment.
Something went wrong with that request. Please try again.