EWSoftware / VSSpellChecker

A Visual Studio spell checker editor extension that checks the spelling of comments, strings, and plain text as you type. Supports configuration and various languages.
Other
377 stars 65 forks source link

Text editor toolbar command buttons #227

Closed walterpg closed 3 years ago

walterpg commented 3 years ago

The commits here address issue #226, in order, as follows:

  1. VSSpellChecker-themed icons for the "action" commands. These icons are contained in a standard VSSDK bitmap strip. Each icon is a modified version of a Visual Studio 2017 image library SVG image.
  2. VS text editor toolbar buttons. <Button> element priority attribute changes provide a better look on the toolbar ("previous" before "next").
  3. Reactive action buttons based on "enabled in session" state. Note that this effects both the toolbar and the Tools ⇒ Spell Checker menu.
  4. Readable command names. This provides better recognition in the Tools ⇒ Customize ⇒ Commands ⇒ Toolbar: ⇒ TextEditor dialog.
  5. Toggling Enable/Disable In Current Session button. The OleMenuCommand class' Checked property provides the standard VS "latched" button behavior.

With the possible exception of the icon style, there is nothing here that could not be merged into the VS2015 branch if desired (although I have only tested VS2019).