Skip to content

Commit

Permalink
Added zooming actions to editor context menu.
Browse files Browse the repository at this point in the history
Moved PlainTextEdit out of BaseEditor so we can get rid of some redundant code.
  • Loading branch information
adeas31 committed Mar 16, 2017
1 parent 8eda82d commit 5c437fc
Show file tree
Hide file tree
Showing 10 changed files with 440 additions and 447 deletions.
Expand Up @@ -161,7 +161,7 @@ void BreakpointsTreeView::gotoFile() {
if (pModelWidget && pModelWidget->getEditor()) {
pModelWidget->getModelWidgetContainer()->addModelWidget(pModelWidget, false);
pModelWidget->getTextViewToolButton()->setChecked(true);
pModelWidget->getEditor()->goToLineNumber(pBreakpointTreeItem->getLineNumber().toInt());
pModelWidget->getEditor()->getPlainTextEdit()->goToLineNumber(pBreakpointTreeItem->getLineNumber().toInt());
}
}
}
Expand Down

0 comments on commit 5c437fc

Please sign in to comment.