diff --git a/IPython/html/texteditor/handlers.py b/IPython/html/texteditor/handlers.py
index a20268526..5933c02f4 100644
--- a/IPython/html/texteditor/handlers.py
+++ b/IPython/html/texteditor/handlers.py
@@ -18,6 +18,7 @@ class EditorHandler(IPythonHandler):
self.write(self.render_template('texteditor.html',
file_path=url_escape(path),
+ page_title=path.rsplit('/', 1)[-1] + " (editing)",
)
)