Partager via


ICommandingTextBufferResolver Interface

Definition

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.

public interface class ICommandingTextBufferResolver
public interface ICommandingTextBufferResolver
type ICommandingTextBufferResolver = interface
Public Interface ICommandingTextBufferResolver

Methods

ResolveBuffersForCommand<TArgs>()

Given a command type, resolves a list of text buffers on which a command should be executed.

Applies to