tinymce.full.js
function Selection(dom, win, serializer, editor) {
      var self = this;

      self.dom = dom;
      self.win = win;
      self.serializer = serializer;
      self.editor = editor;
      self.bookmarkManager = new BookmarkManager(self);
      self.controlSelection = new ControlSelection(self, editor);

      // No W3C Range support
      if (!self.win.getSelection) {
        self.tridentSel = new TridentSelection(self);
      }
    }
function Selection(dom, win, serializer, editor) {
      var self = this;

      self.dom = dom;
      self.win = win;
      self.serializer = serializer;
      self.editor = editor;
      self.bookmarkManager = new BookmarkManager(self);
      self.controlSelection = new ControlSelection(self, editor);

      // No W3C Range support
      if (!self.win.getSelection) {
        self.tridentSel = new TridentSelection(self);
      }
    }
function Selection ( dom , win , serializer , editor ) { var self = this ; self . dom = dom ; self . win = win ; self . serializer = serializer ; self . editor = editor ; self . bookmarkManager = new BookmarkManager ( self ) ; self . controlSelection = new ControlSelection ( self , editor ) ; // No W3C Range support if ( ! self . win . getSelection ) { self . tridentSel = new TridentSelection ( self ) ; } }
Constructs a new selection instance.

@constructor
@method Selection
@param {tinymce.dom.DOMUtils} dom DOMUtils object reference.
@param {Window} win Window to bind the selection object to.
@param {tinymce.Editor} editor Editor instance of the selection.
@param {tinymce.dom.Serializer} serializer DOM serialization class to use for getContent.
Constructs a new selection instance .