code: function _handleActiveEditorChange(event, current, previous) {
          if (previous && previous._paneId) { // Handle only full editors
              previous.off("beforeSelectionChange", _recordJumpDef);
              _captureFrame(previous);
              _validateNavigationCmds();
          }
          
          if (current && current._paneId) { // Handle only full editors
              activePosNotSynced = true;
              current.off("beforeSelectionChange", _recordJumpDef);
              current.on("beforeSelectionChange", _recordJumpDef);
              current.off("beforeDestroy", _handleEditorCleanup);
              current.on("beforeDestroy", _handleEditorCleanup);
          }
      }
docs: Handle Active Editor change to update navigation information
  @private