ui: Fix copy shortcut for selected code broken #943

fixes #940
This commit is contained in:
Eberhard Gräther
2020-03-23 18:10:21 +01:00
committed by GitHub
parent 38925292b7
commit eaa263be44
12 changed files with 56 additions and 0 deletions
@@ -227,6 +227,11 @@ void QtCodeSnippet::focusBottom()
}
}
void QtCodeSnippet::copySelection()
{
m_codeArea->copySelection();
}
void QtCodeSnippet::ensureLocationIdVisible(Id locationId, bool animated)
{
m_codeArea->ensureLocationIdVisible(locationId, width(), animated);