- enhancement: can use PageDown / PageUp / Home / End to scroll in the auto completion popup
This commit is contained in:
parent
f9cefaf196
commit
af03c417ec
2
NEWS.md
2
NEWS.md
|
@ -3,6 +3,8 @@ Version 0.7.5
|
|||
- change: remove "add indent" option in the editor general options widget ( It's merged with "auto indent" option)
|
||||
- enhancement: auto insert a new line when input an enter between '(' and ')' or between '[' and ']'
|
||||
- fix: correctly updates cursor position when pasting from clipboard
|
||||
- enhancement: auto unindent when input protected: public: private: case *:
|
||||
- enhancement: can use PageDown / PageUp / Home / End to scroll in the auto completion popup
|
||||
|
||||
Version 0.7.4
|
||||
- fix: when debug a project, and have breakpoints that not in opened editors, dev-cpp will crash
|
||||
|
|
|
@ -10,7 +10,12 @@ CodeCompletionListView::CodeCompletionListView(QWidget *parent) : QListView(pare
|
|||
void CodeCompletionListView::keyPressEvent(QKeyEvent *event)
|
||||
{
|
||||
if (event->key() == Qt::Key_Up
|
||||
|| event->key() == Qt::Key_Down) {
|
||||
|| event->key() == Qt::Key_Down
|
||||
|| event->key() == Qt::Key_PageDown
|
||||
|| event->key() == Qt::Key_PageUp
|
||||
|| event->key() == Qt::Key_Home
|
||||
|| event->key() == Qt::Key_End
|
||||
) {
|
||||
QListView::keyPressEvent(event);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue