1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

[TextServer] Fix get_word_breaks and it uses.

This commit is contained in:
bruvzg
2023-07-05 12:49:16 +03:00
parent 04a530f91f
commit b5e3238109
5 changed files with 192 additions and 113 deletions

View File

@@ -840,7 +840,7 @@ void ScriptEditorDebugger::_set_reason_text(const String &p_reason, MessageType
for (int i = 0; i < boundaries.size(); i += 2) {
const int start = boundaries[i];
const int end = boundaries[i + 1];
lines.append(p_reason.substr(start, end - start + 1));
lines.append(p_reason.substr(start, end - start));
}
reason->set_tooltip_text(String("\n").join(lines));