Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Commit

Permalink
SearchPanel should insert selected text into the SearchPanel when pre…
Browse files Browse the repository at this point in the history
…ssing Ctrl+F (suggested by ThaiGIS)
  • Loading branch information
siegfriedpammer committed Nov 27, 2011
1 parent bc17c3e commit b32b727
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -75,6 +75,7 @@ void ExecuteFind(object sender, ExecutedRoutedEventArgs e)
panel = new SearchPanel();
panel.Attach(TextArea);
}
panel.SearchPattern = TextArea.Selection.GetText();
Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Input, (Action)delegate { panel.Reactivate(); });
}

Expand Down

0 comments on commit b32b727

Please sign in to comment.