Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 668be58e authored by Dominik Haumann's avatar Dominik Haumann

Use KTextEditor API to support variable expansion

parent 113f5c04
......@@ -99,6 +99,16 @@ KateExternalToolServiceEditor::KateExternalToolServiceEditor(KateExternalTool* t
ui->chkReload->setChecked(m_tool->reload);
ui->cmbOutput->setCurrentIndex(static_cast<int>(m_tool->outputMode));
ui->edtCommand->setText(m_tool->cmdname);
// add support for variable expansion
KTextEditor::Editor::instance()->addVariableExpansion(
{
ui->edtExecutable,
ui->edtArgs,
ui->edtInput,
ui->edtWorkingDir
}
);
}
void KateExternalToolServiceEditor::slotOKClicked()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment