diff --git a/IDE/src/ui/SourceEditWidgetContent.bf b/IDE/src/ui/SourceEditWidgetContent.bf index f75da8a1..1c7f8089 100644 --- a/IDE/src/ui/SourceEditWidgetContent.bf +++ b/IDE/src/ui/SourceEditWidgetContent.bf @@ -2987,7 +2987,11 @@ namespace IDE.ui } } else - CursorToLineEnd(); + { + // Assume this means we're at the end of a statement, or at least we're not pulling along any other closing parens + mCurParenPairIdSet.Clear(); + CursorToLineEnd(); + } } if ((mAutoComplete != null) && (mAutoComplete.mInvokeWidget != null))