![Avatar](https://secure.gravatar.com/avatar/419d17d99adba65a41ea1081ce3379ba.jpg?s=64&d=identicon&r=g)
Hi,
I'm evaluating your SyntaxEditor to check if it fits our needs. In our app we have to handle very long strings that do not contain any line terminations. When I generate such a long string using your PrintingOptions demo by modifying it in the MainControl.xaml.cs in the OnLoaded procedure, your app loops endless:
private void OnLoaded(object sender, RoutedEventArgs e)
{
string newText = new string('1', 500000);
this.editor.Document.SetText(newText);
this.Dispatcher.BeginInvoke(DispatcherPriority.Send, (DispatcherOperationCallback)delegate(object arg) { this.RefreshPrintPreview(); return null; }, null);
}
Is this caused by the evaluation mode or is it caused by other limitations? Any help would be appreciated.
Brgds
Severin