We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ab87c1 commit 3d210e7Copy full SHA for 3d210e7
RetailCoder.VBE/App.cs
@@ -126,10 +126,18 @@ private void HandleKeyboardMessage()
126
RefreshSelection();
127
}
128
129
+ private ParserState _lastStatus;
130
private void RefreshSelection()
131
{
132
_stateBar.SetSelectionText(_parser.State.FindSelectedDeclaration(_vbe.ActiveCodePane));
- _appMenus.EvaluateCanExecute(_parser.State);
133
+
134
+ var currentStatus = _parser.State.Status;
135
+ if (_lastStatus != currentStatus)
136
+ {
137
+ _appMenus.EvaluateCanExecute(_parser.State);
138
+ }
139
140
+ _lastStatus = currentStatus;
141
142
143
private void _configService_SettingsChanged(object sender, EventArgs e)
0 commit comments