3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS
11 #include "QCommandEdit.h"
14 #pragma implementation
17 QCommandEdit::QCommandEdit(QWidget * parent)
20 setFocusPolicy(QWidget::ClickFocus);
24 void QCommandEdit::keyPressEvent(QKeyEvent * e)
40 if (cursorPosition() == text().length())
43 QLineEdit::keyPressEvent(e);
47 QLineEdit::keyPressEvent(e);