[QScintilla] Problem when SCI_CLEARALLCMDKEYS

Andrei hlamer at tut.by
Sat Nov 3 21:50:18 GMT 2007


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?

Thanks, 
Andrei


More information about the QScintilla mailing list