Implementation of InsertTextFormat
enumeration from Language Server Protocol
DO NOT add new properties or methods to this class that are specific to Moonshine IDE or to a particular language. Create a subclass for new properties or create a utility function for methods.
See also:
Variables
inlineread onlyPlainText:InsertTextFormat = 1
The primary text to be inserted is treated as a plain string.
inlineread onlySnippet:InsertTextFormat = 2
The primary text to be inserted is treated as a snippet.
A snippet can define tab stops and placeholders with $1
, $2
and ${3:foo}
. $0
defines the final tab stop, it defaults to
the end of the snippet. Placeholders with equal identifiers are linked,
that is typing in one will update others too.