共用方式為


Microsoft.VisualStudio.Text.Editor.Commanding Namespace

Classes

EditorCommandArgs

A base class for all editor command arguments.

Interfaces

ICommandingTextBufferResolver

Given a text view and a command type, resolves a list of text buffers on which a command should be executed. Default implementation of this service returns a list of buffers in the text view which can be mapped to the caret position. Other implementations might take into acount text selection in addition to the caret position, for example when executing Format Document command in a projection scenario.

ICommandingTextBufferResolverProvider

Provides a ICommandingTextBufferResolver for a given ITextView and content type.

IEditorCommandHandlerService

A service to execute commands on a text view.

IEditorCommandHandlerServiceFactory

A factory producing IEditorCommandHandlerService used to execute commands in a given text view.