diff --git a/src/AvaloniaEdit.Demo/MainWindow.xaml.cs b/src/AvaloniaEdit.Demo/MainWindow.xaml.cs index 8c7d8ff4..43db7504 100644 --- a/src/AvaloniaEdit.Demo/MainWindow.xaml.cs +++ b/src/AvaloniaEdit.Demo/MainWindow.xaml.cs @@ -63,6 +63,7 @@ public MainWindow() _textEditor.TextArea.Caret.PositionChanged += Caret_PositionChanged; _textEditor.TextArea.RightClickMovesCaret = true; _textEditor.Options.HighlightCurrentLine = true; + _textEditor.Options.CompletionAcceptAction = CompletionAcceptAction.DoubleTapped; _addControlButton = this.FindControl