C# Class Emmet.EditorExtensions.EmmetCommandTarget

Handles Emmet commands passed to the attached view.
Inheritance: CommandTargetBase
Datei anzeigen Open project: sergey-rybalkin/emmet.net Class Usage Examples

Private Properties

Property Type Description
HighlightTabStops void
InterceptNativeEvents bool
TryExpandAbbreviation bool
TryWrapAbbreviation bool

Public Methods

Method Description
EmmetCommandTarget ( ViewContext view, ICompletionBroker completionBroker ) : System

Initializes a new instance of the EmmetCommandTarget class.

Exec ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
GetTabStopsToHighlight ( ) : Span[]

Gets tab stops from the associated view that should be highlighted.

Private Methods

Method Description
HighlightTabStops ( ) : void
InterceptNativeEvents ( uint nCmdID ) : bool
TryExpandAbbreviation ( ) : bool
TryWrapAbbreviation ( ) : bool

Method Details

EmmetCommandTarget() public method

Initializes a new instance of the EmmetCommandTarget class.
public EmmetCommandTarget ( ViewContext view, ICompletionBroker completionBroker ) : System
view ViewContext
completionBroker ICompletionBroker The completion broker to control intellisense UI.
return System

Exec() public method

public Exec ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
pguidCmdGroup System.Guid
nCmdID uint
nCmdexecopt uint
pvaIn System.IntPtr
pvaOut System.IntPtr
return int

GetTabStopsToHighlight() public method

Gets tab stops from the associated view that should be highlighted.
public GetTabStopsToHighlight ( ) : Span[]
return Span[]