Skip to content

Commit

Permalink
! Kept toolbar when executing Delete command on SmartBar
Browse files Browse the repository at this point in the history
  • Loading branch information
wmjordan committed Mar 27, 2021
1 parent 293d1e7 commit 0cb8824
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Codist/SmartBars/SmartBar.CommonEdit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ void AddDeleteCommand() {
&& snapshot[end] == ' '
&& (end == snapshot.Length - 2
|| "={<>(-+*/^!|?:~&%".IndexOf(snapshot[end + 1]) == -1)) {
ctx.KeepToolBar(false);
s.Select(new SnapshotSpan(s.Start.Position, s.End.Position + 1), false);
}
}
Expand Down

0 comments on commit 0cb8824

Please sign in to comment.