A collection of utilities private to the extension. This parameter must be provided as the first parameter to the activate-call in order for the extension to work.
Deep copy a variable.
The variable wanted a deep copy of.
The deep copied variable.
Read the chenges to the text document and determines if Enter was pressed by checking if a newline was added.
The text document change event. All the changes to the document are stored here.
If true if Enter was pressed, otherwise false.
Replace every character with preceding backslash, including the backslash, with two hashes.
The string to replace characters in.
The modified string.
Replaces characters between characters with a hash, this is used only for counting the index of other characters without including anything withing the characters given in paramters. Will be used with different types of strings.
The string to replace.
The optional character if you want to match between two different characters.
A new string where everything in between a given character is replaced with hashes.
The syntax and regular expressions for each supported languages.
Generated using TypeDoc
The entry point of the extension. The command "extension.EasyDoc" and onDidChangeTextDocument are added as subscriptions to the extension via the context sent as an argument.