Changeset View
Changeset View
Standalone View
Standalone View
src/ViewContainer.cpp
Show First 20 Lines • Show All 568 Lines • ▼ Show 20 Line(s) | |||||
569 | { | 569 | { | ||
570 | activeViewSplitter()->maximizeCurrentTerminal(); | 570 | activeViewSplitter()->maximizeCurrentTerminal(); | ||
571 | } | 571 | } | ||
572 | 572 | | |||
573 | void TabbedViewContainer::restoreOtherTerminals() | 573 | void TabbedViewContainer::restoreOtherTerminals() | ||
574 | { | 574 | { | ||
575 | activeViewSplitter()->restoreOtherTerminals(); | 575 | activeViewSplitter()->restoreOtherTerminals(); | ||
576 | } | 576 | } | ||
577 | | ||||
578 | void TabbedViewContainer::moveTabLeft() | ||||
hindenburg: empty space at end - minor | |||||
579 | { | ||||
580 | if (currentIndex() == 0) { | ||||
581 | return; | ||||
582 | } | ||||
583 | tabBar()->moveTab(currentIndex(), currentIndex() -1); | ||||
584 | } | ||||
585 | | ||||
586 | void TabbedViewContainer::moveTabRight() | ||||
587 | { | ||||
588 | if (currentIndex() == count() -1) { | ||||
589 | return; | ||||
590 | } | ||||
591 | tabBar()->moveTab(currentIndex(), currentIndex() + 1); | ||||
592 | } | ||||
593 | No newline at end of file | ||||
minor nitpick that doesn't have to fix now - make sure there are newlines at end of files. hindenburg: minor nitpick that doesn't have to fix now - make sure there are newlines at end of files. |
empty space at end - minor