diff --git a/src/ui/osx/TogglDesktop/test2/AutoCompleteInput.m b/src/ui/osx/TogglDesktop/test2/AutoCompleteInput.m index bd6c882202..f2f6e160a8 100644 --- a/src/ui/osx/TogglDesktop/test2/AutoCompleteInput.m +++ b/src/ui/osx/TogglDesktop/test2/AutoCompleteInput.m @@ -154,6 +154,8 @@ - (void)showAutoComplete:(BOOL)show [NSLayoutConstraint activateConstraints:[NSArray arrayWithObjects:self.leftConstraint, self.rightConstraint, self.heightConstraint, self.topConstraint, nil]]; self.constraintsActive = YES; } + [[self currentEditor] setSelectedRange:NSMakeRange(0, 0)]; + [[self currentEditor] moveToEndOfLine:nil]; } else {