When using the EditorSearchView in Find mode, the find button is only enabled after I expand the Find Options the first time. When in Replace mode it works ok and it enables it as soon as both textboxes are filled. How can I fix that? I'm using the following code:
var window = new Window {
Title = "Quick Find in " + parentWindow.Title,
SizeToContent = SizeToContent.WidthAndHeight,
ResizeMode = ResizeMode.NoResize,
Owner = parentWindow,
ShowInTaskbar = false,
WindowStartupLocation = WindowStartupLocation.CenterOwner,
Content = new EditorSearchView {
SyntaxEditor = Owner,
Mode = EditorSearchMode.Find,
IsModeToolBarVisible = true,
IsOptionsPanelExpanded = false,
SearchOptions = new EditorSearchOptions {
MatchCase = false,
MatchWholeWord = false,
Scope = EditorSearchScope.Document,
PatternProvider = SearchPatternProviders.Normal,
},
},
};
window.Show();
Best Regards,
Gustavo Guerra
var window = new Window {
Title = "Quick Find in " + parentWindow.Title,
SizeToContent = SizeToContent.WidthAndHeight,
ResizeMode = ResizeMode.NoResize,
Owner = parentWindow,
ShowInTaskbar = false,
WindowStartupLocation = WindowStartupLocation.CenterOwner,
Content = new EditorSearchView {
SyntaxEditor = Owner,
Mode = EditorSearchMode.Find,
IsModeToolBarVisible = true,
IsOptionsPanelExpanded = false,
SearchOptions = new EditorSearchOptions {
MatchCase = false,
MatchWholeWord = false,
Scope = EditorSearchScope.Document,
PatternProvider = SearchPatternProviders.Normal,
},
},
};
window.Show();
Best Regards,
Gustavo Guerra