We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 443c1fb commit 8283178Copy full SHA for 8283178
MaterialDesignThemes.Wpf/HintProxyFabric.RichTextBox.cs
@@ -24,7 +24,8 @@ public bool IsEmpty()
24
_richTextBox.Document.ContentEnd
25
);
26
27
- return string.IsNullOrWhiteSpace(textRange.Text);
+ return string.IsNullOrEmpty(textRange.Text) ||
28
+ textRange.Text == Environment.NewLine;
29
}
30
31
public bool IsFocused() => _richTextBox.IsKeyboardFocused;
0 commit comments