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.

C++
public interface class ICommandingTextBufferResolver

Methods

ResolveBuffersForCommand<TArgs>()

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

Applies to

Tuote Versiot
Visual Studio SDK 2017, 2019, 2022