ICommandingTextBufferResolver 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.
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. |