You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #94002 from kitbdev/fix-goto-error
Fix goto line issues in code editor
This commit is contained in:
@@ -779,7 +779,7 @@ void TextShaderEditor::_show_warnings_panel(bool p_show) {
|
||||
|
||||
void TextShaderEditor::_warning_clicked(const Variant &p_line) {
|
||||
if (p_line.get_type() == Variant::INT) {
|
||||
code_editor->get_text_editor()->set_caret_line(p_line.operator int64_t());
|
||||
code_editor->goto_line_centered(p_line.operator int64_t());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user