Fehle in Tooltip gefixt
This commit is contained in:
@@ -563,6 +563,16 @@ void CodeEditor::keyPressEvent(QKeyEvent *event)
|
||||
{
|
||||
const int tabSize = m_settings->tabSize();
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// Escape: Signatur-Tooltip sofort schließen (unabhängig vom Cursor-
|
||||
// Kontext). Das Variablen-Popup behandelt Escape bereits selbst weiter
|
||||
// unten in m_varCompleter->handleKeyPress().
|
||||
// -----------------------------------------------------------------------
|
||||
if (event->key() == Qt::Key_Escape)
|
||||
{
|
||||
m_signatureHelper->dismiss();
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// Shift+Tab: Einrückung zurückziehen
|
||||
// -----------------------------------------------------------------------
|
||||
@@ -758,5 +768,6 @@ void CodeEditor::focusOutEvent(QFocusEvent *event)
|
||||
{
|
||||
QPlainTextEdit::focusOutEvent(event);
|
||||
m_varCompleter->notifyFocusLost();
|
||||
m_signatureHelper->notifyFocusLost();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user