[education/rkward] rkward/windows: Remove leftover experimental code

Thomas Friedrichsmeier null at kde.org
Thu Jun 12 07:05:11 BST 2025


Git commit 024fe19aded93b807354117d64c9b2a45ea11d6f by Thomas Friedrichsmeier.
Committed on 12/06/2025 at 06:05.
Pushed by tfry into branch 'master'.

Remove leftover experimental code

M  +0    -1    rkward/windows/rkcommandeditorwindow.cpp

https://invent.kde.org/education/rkward/-/commit/024fe19aded93b807354117d64c9b2a45ea11d6f

diff --git a/rkward/windows/rkcommandeditorwindow.cpp b/rkward/windows/rkcommandeditorwindow.cpp
index d59017b9f..9ce7af11e 100644
--- a/rkward/windows/rkcommandeditorwindow.cpp
+++ b/rkward/windows/rkcommandeditorwindow.cpp
@@ -974,7 +974,6 @@ void RKCommandEditorWindow::setWDToScript() {
 		dir.remove(0, 1);
 #endif
 	RKConsole::pipeUserCommand(u"setwd (\""_s + dir + u"\")"_s);
-	m_view->insertTemplate(m_view->cursorPosition(), u"${dummy()}"_s, u"require('document.js'); require('view.js'); document.insertText(view.cursorPosition(), 'INSERT'); view.setSelection(0,2, 0,4); function dummy() {};"_s);
 }
 
 void RKCommandEditorWindow::runCurrent() {


More information about the rkward-tracker mailing list