get_file_contents


Description:

public override string get_file_contents (string file)

Gets the full contents of a file.

Content is read only via the File (buffer). Uses active file when path matches, else get_file_from_active_project. create_buffer is always called (no-op if buffer exists). Returns "Problem loading file contents: <path>" if the file is not found. No disk fallback.

Parameters:

file

The file path

Returns:

The file contents, or an error message if not available