Implement a better way to wrap text containing color tags #80679
Annotations
10 errors
run clang-tidy:
src/text.cpp#L26
Parameter 'str' of 'parse_colored_text' can be std::string_view. [cata-use-string_view,-warnings-as-errors]
|
run clang-tidy:
src/text.cpp#L37
Parameter 'str' of 'Paragraph' can be std::string_view. [cata-use-string_view,-warnings-as-errors]
|
run clang-tidy:
src/text.cpp#L257
Avoid auto in declaration of 'seg'. [cata-almost-never-auto,-warnings-as-errors]
|
run clang-tidy:
src/text.cpp#L273
Parameter 'para' of 'TextParagraph' can be std::string_view. [cata-use-string_view,-warnings-as-errors]
|
run clang-tidy:
src/third-party/imgui/imstb_textedit.h#L302
use 'using' instead of 'typedef' [modernize-use-using,-warnings-as-errors]
|
run clang-tidy:
src/third-party/imgui/imstb_textedit.h#L311
use 'using' instead of 'typedef' [modernize-use-using,-warnings-as-errors]
|
run clang-tidy:
src/third-party/imgui/imstb_textedit.h#L314
do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays,-warnings-as-errors]
|
run clang-tidy:
src/third-party/imgui/imstb_textedit.h#L320
use 'using' instead of 'typedef' [modernize-use-using,-warnings-as-errors]
|
run clang-tidy:
src/third-party/imgui/imstb_textedit.h#L367
use 'using' instead of 'typedef' [modernize-use-using,-warnings-as-errors]
|
run clang-tidy:
src/third-party/imgui/imstb_textedit.h#L374
#endif for a header guard should reference the guard macro in a comment. [cata-header-guard,-warnings-as-errors]
|
Loading