readText

Reads the entire content of a file as a string.

Return

The file content as a string.

Parameters

path

The file path to read.

documentProvider

document provider to get unsaved text from.

See also


Reads the entire content of a file as a string.

Return

The file content as a string.

Parameters

path

The file path to read.

See also