Changeset View
Changeset View
Standalone View
Standalone View
src/ViewContainer.cpp
Show First 20 Lines • Show All 557 Lines • ▼ Show 20 Line(s) | |||||
558 | { | 558 | { | ||
559 | activeViewSplitter()->maximizeCurrentTerminal(); | 559 | activeViewSplitter()->maximizeCurrentTerminal(); | ||
560 | } | 560 | } | ||
561 | 561 | | |||
562 | void TabbedViewContainer::restoreOtherTerminals() | 562 | void TabbedViewContainer::restoreOtherTerminals() | ||
563 | { | 563 | { | ||
564 | activeViewSplitter()->restoreOtherTerminals(); | 564 | activeViewSplitter()->restoreOtherTerminals(); | ||
565 | } | 565 | } | ||
566 | | ||||
567 | void TabbedViewContainer::moveTabLeft() | ||||
hindenburg: empty space at end - minor | |||||
568 | { | ||||
569 | if (currentIndex() == 0) { | ||||
570 | return; | ||||
571 | } | ||||
572 | tabBar()->moveTab(currentIndex(), currentIndex() -1); | ||||
573 | } | ||||
574 | | ||||
575 | void TabbedViewContainer::moveTabRight() | ||||
576 | { | ||||
577 | if (currentIndex() == count() -1) { | ||||
578 | return; | ||||
579 | } | ||||
580 | tabBar()->moveTab(currentIndex(), currentIndex() + 1); | ||||
581 | } | ||||
582 | 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