mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 14:50:44 +01:00
[apps/code] Reset selection when leaving script editor
This commit is contained in:
@@ -16,6 +16,10 @@ EditorView::EditorView(Responder * parentResponder, App * pythonDelegate) :
|
||||
m_textArea.setScrollViewDelegate(this);
|
||||
}
|
||||
|
||||
void EditorView::resetSelection() {
|
||||
m_textArea.resetSelection();
|
||||
}
|
||||
|
||||
void EditorView::scrollViewDidChangeOffset(ScrollViewDataSource * scrollViewDataSource) {
|
||||
m_gutterView.setOffset(scrollViewDataSource->offset().y());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user