Beispiel #1
0
 private void OnTextChangedDelayed(object sender, TextChangedEventArgs textChangedEventArgs)
 {
     if (MainSourceHolder)
     {
         FileClass.Text      = fastColoredTextBox1.Text;
         FileClass.TextState = ETextState.Changed;
     }
     AnalyzeTypesInSource();
     IsSqlSyntax = IsSqlSyntax ? IsSqlSyntax : FileClass.FilePath.Contains(".sql");
     HighlightEngine.SetSourceRules(sender, IsSqlSyntax, FileClass);
 }
 private void SearchResultFctbOnTextChangedDelayed(object sender, TextChangedEventArgs textChangedEventArgs)
 {
     HighlightEngine.SetSourceRules(sender, false);
     HighlightEngine.SetSourceRulesHighlightRegex(sender, _searchedText);
 }