code: function () {
          var self = this, style, rect, borderBox, borderW, borderH = 0, lastRepaintRect;
  
          style = self.getEl().style;
          rect = self._layoutRect;
          lastRepaintRect = self._lastRepaintRect || {};
  
          // Detect old IE 7+8 add lineHeight to align caret vertically in the middle
          var doc = document;
          if (!self.settings.multiline && doc.all && (!doc.documentMode || doc.documentMode <= 8)) {
            style.lineHeight = (rect.h - borderH) + 'px';
          }
  
          borderBox = self.borderBox;
          borderW = borderBox.left + borderBox.right + 8;
          borderH = borderBox.top + borderBox.bottom + (self.settings.multiline ? 8 : 0);
  
          if (rect.x !== lastRepaintRect.x) {
            style.left = rect.x + 'px';
            lastRepaintRect.x = rect.x;
          }
  
          if (rect.y !== lastRepaintRect.y) {
            style.top = rect.y + 'px';
            lastRepaintRect.y = rect.y;
          }
  
          if (rect.w !== lastRepaintRect.w) {
            style.width = (rect.w - borderW) + 'px';
            lastRepaintRect.w = rect.w;
          }
  
          if (rect.h !== lastRepaintRect.h) {
            style.height = (rect.h - borderH) + 'px';
            lastRepaintRect.h = rect.h;
          }
  
          self._lastRepaintRect = lastRepaintRect;
          self.fire('repaint', {}, false);
  
          return self;
        }
docs: Repaints the control after a layout operation.
  
  @method repaint