Adds an error to be displayed at the specified . Line that should be highlighted and show an error message when hovered with the mouse. Error message that should be displayed. Set to to indicate that this is a warning instead of an error, which uses diff
| 172 | /// <param name="message">Error message that should be displayed.</param> |
| 173 | /// <param name="warning">Set to <see langword="true"/> to indicate that this is a warning instead of an error, which uses different color coding.</param> |
| 174 | void add_error(size_t line, const std::string_view message, bool warning = false) { _errors.emplace(line, std::make_pair(message, warning)); } |
| 175 | /// <summary> |
| 176 | /// Removes all displayed errors that were previously added via <see cref="add_error"/>. |
| 177 | /// </summary> |
no test coverage detected