You've already forked godot
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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user