docs: private int getCurrentRequestTabIndex() {
  		if (layout == Layout.FULL) {
  			if (responsePanelPosition == ResponsePanelPosition.TAB_SIDE_BY_SIDE) {
  				return getTabbedFull().indexOfComponent(splitRequestAndResponsePanel);
  			}
  			return getTabbedFull().indexOfComponent(requestPanel);
  		}
  
  		if (responsePanelPosition == ResponsePanelPosition.TAB_SIDE_BY_SIDE) {
  			int idx = getTabbedWork().indexOfComponent(splitRequestAndResponsePanel);
  			if (idx != -1) {
  				return idx;
  			}
  		}
  		int idx = getTabbedWork().indexOfComponent(requestPanel);
  		if (idx != -1) {
  			return idx;
  		}
  		// Panel not shown yet, return "old" index.
  		return requestTabIndex;
  	}