{
var h,
c = this.opts.content,
+ c_opts = {},
lh = this._getLineHeight(),
sp = this.split_pane;
this.page_size = size;
}
+ if (this.view && sp.curr != this.pane_mode) {
+ c_opts.updated = this.createSelection('div', this.visibleRows()).get('domid');
+ }
+
// Get split pane dimensions
switch (this.pane_mode) {
case 'horiz':
}
if (this.view) {
- this.requestContentRefresh(this.currentOffset());
+ this.requestContentRefresh(this.currentOffset(), c_opts);
}
},
// offset = (integer) TODO
- requestContentRefresh: function(offset)
+ // opts = (object) See _updateContent()
+ requestContentRefresh: function(offset, opts)
{
- if (!this._updateContent(offset)) {
+ if (!this._updateContent(offset, opts)) {
return false;
}
createSelection: function(format, data, view)
{
var buffer = this._getBuffer(view);
- return buffer ? new ViewPort_Selection(buffer, format, data) : new ViewPort_Selection(this._getBuffer(this.view));
+ return buffer
+ ? new ViewPort_Selection(buffer, format, data)
+ : new ViewPort_Selection(this._getBuffer(this.view));
},
getSelection: function(view)