| 888 | } |
| 889 | |
| 890 | std::string Document::getLastError() const |
| 891 | { |
| 892 | std::string_view error = mLastError.print(); |
| 893 | if (error.empty()) |
| 894 | return {}; |
| 895 | return MyGUI::utility::toString( |
| 896 | "'", |
| 897 | error, |
| 898 | "' , file='", |
| 899 | mLastErrorFile, |
| 900 | "' , line=", |
| 901 | mLine, |
| 902 | " , col=", |
| 903 | mCol); |
| 904 | } |
| 905 | |
| 906 | bool Document::open(const UString& _filename) |
| 907 | { |
no test coverage detected