IEditorCommandHandlerService Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A service to execute commands on a text view.
public interface class IEditorCommandHandlerService
public interface IEditorCommandHandlerService
type IEditorCommandHandlerService = interface
Public Interface IEditorCommandHandlerService
Remarks
Instances of this service are created by IEditorCommandHandlerServiceFactory.
Methods
Execute<T>(Func<ITextView,ITextBuffer,T>, Action) |
Execute a given command on the ITextView associated with this IEditorCommandHandlerService instance. |
GetCommandState<T>(Func<ITextView,ITextBuffer,T>, Func<CommandState>) |
Get the CommandState for command handlers of a given command. |