Archive

Posts Tagged ‘Text Ex’

DXCore Services – TextCommands

March 17th, 2011 Comments off

The TextCommands DXCore service provides access to registered text commands inside DXCore and allows you to format a text command to prepare it for expansion. Formatting of a text command means adding special characters defined in the Constants DXCore service to be able to expand it using the TextExpansions service. For example, to format the Caret text command, pass its name to the Format method:

CodeRush.TextCommands.Format("Caret")

and as a result, it will return: «Caret».

Read more…