mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Store line change in script navigation history
This commit is contained in:
@@ -287,6 +287,7 @@ void EditorHelp::_class_desc_select(const String &p_select) {
|
||||
if (table->has(link)) {
|
||||
// Found in the current page.
|
||||
if (class_desc->is_ready()) {
|
||||
emit_signal(SNAME("request_save_history"));
|
||||
class_desc->scroll_to_paragraph((*table)[link]);
|
||||
} else {
|
||||
scroll_to = (*table)[link];
|
||||
@@ -3077,6 +3078,7 @@ void EditorHelp::_bind_methods() {
|
||||
ClassDB::bind_method("_help_callback", &EditorHelp::_help_callback);
|
||||
|
||||
ADD_SIGNAL(MethodInfo("go_to_help"));
|
||||
ADD_SIGNAL(MethodInfo("request_save_history"));
|
||||
}
|
||||
|
||||
void EditorHelp::init_gdext_pointers() {
|
||||
|
||||
Reference in New Issue
Block a user