ArgumentException: 宽度和高度必须为非负值。 --Message: 宽度和高度必须为非负值。 StackTrace: 在 System.Windows.Rect..ctor(Double x, Double y, Double width, Double height) 在 ICSharpCode.AvalonEdit.Editing.Caret.CalcCaretRectangle(VisualLine visualLine) 在 ICSharpCode.AvalonEdit.Editing.Caret.ShowInternal() 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)