Skip to content

TextFileView.getViewData method

TextFileView › getViewData

Official

Gets the data from the editor. This will be called to save the editor contents to the file.

Signature:

getViewData(): string

Returns: stringThe editor data as a string.

Since: 0.10.12