[QScintilla] Problem when SCI_CLEARALLCMDKEYS

Phil Thompson phil at riverbankcomputing.com
Sun Nov 4 13:19:38 GMT 2007


On Saturday 03 November 2007, Andrei wrote:
> Hello.
>
> We have a problem with QScintilla.
> If to switch of all command keys, it's will insert special characters, when
> some Ctrl+... combinations are pressed.
> How to test.
> Here is constructor from Example-Qt4:
>
> MainWindow::MainWindow()
> {
>     textEdit = new QsciScintilla;
>     textEdit->SendScintilla( QsciScintilla::SCI_CLEARALLCMDKEYS ); //   !!!
>     setCentralWidget(textEdit);
>     createActions();
>     createMenus();
>     createToolBars();
>     createStatusBar();
>
>     readSettings();
>
>     connect(textEdit, SIGNAL(textChanged()),
>             this, SLOT(documentWasModified()));
>
>     setCurrentFile("");
> }
>
> compile it and execute.  Press Ctrl+D.
> EOT symbol (0x04) will be inserted (It's visible)
>
> Are exist method to switch of this possilbility?

Does the problem still exist with the current snapshot?

Phil


More information about the QScintilla mailing list