diff --git a/doc/classes/EditorInterface.xml b/doc/classes/EditorInterface.xml
index e5e10c1cfd1..1cb5d3e50b6 100644
--- a/doc/classes/EditorInterface.xml
+++ b/doc/classes/EditorInterface.xml
@@ -21,7 +21,17 @@
- Edits the given [Resource].
+ Edits the given [Resource]. If the resource is a [Script] you can also edit it with [method edit_script] to specify the line and column position.
+
+
+
+
+
+
+
+
+
+ Edits the given [Script]. The line and column on which to open the script can also be specified. The script will be open with the user-configured editor for the script's language which may be an external editor.
diff --git a/editor/editor_plugin.cpp b/editor/editor_plugin.cpp
index 20030ee9411..8ffb99baef3 100644
--- a/editor/editor_plugin.cpp
+++ b/editor/editor_plugin.cpp
@@ -165,6 +165,10 @@ void EditorInterface::edit_node(Node *p_node) {
EditorNode::get_singleton()->edit_node(p_node);
}
+void EditorInterface::edit_script(const Ref