| 1069 | } |
| 1070 | |
| 1071 | std::string reshade::imgui::code_editor::get_text() const |
| 1072 | { |
| 1073 | return get_text(0, _lines.size()); |
| 1074 | } |
| 1075 | std::string reshade::imgui::code_editor::get_text(const text_pos &beg, const text_pos &end) const |
| 1076 | { |
| 1077 | // Calculate length of text to pre-allocate memory before building the string |