The R Project SVN R

Rev

Rev 44345 | Rev 45475 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 44345 Rev 44407
Line 1696... Line 1696...
1696
	/* Try to work out which cols we can fit in */
1696
	/* Try to work out which cols we can fit in */
1697
	for(j = DE->xmaxused;j >= 0; j--) {
1697
	for(j = DE->xmaxused;j >= 0; j--) {
1698
	    w += BOXW(j);
1698
	    w += BOXW(j);
1699
	    if(w > DE->fullwindowWidth) break;
1699
	    if(w > DE->fullwindowWidth) break;
1700
	}
1700
	}
1701
	jumpwin(DE, min(j+1, DE->xmaxused), max(i, 1));
1701
	jumpwin(DE, min(1 + max(j, 0), DE->xmaxused), max(i, 1));
1702
	downlightrect(DE);
1702
	downlightrect(DE);
1703
	DE->crow = DE->ymaxused - DE->rowmin + 1;
1703
	DE->crow = DE->ymaxused - DE->rowmin + 1;
1704
	DE->ccol = DE->xmaxused - DE->colmin + 1;
1704
	DE->ccol = DE->xmaxused - DE->colmin + 1;
1705
	highlightrect(DE);
1705
	highlightrect(DE);
1706
	cell_cursor_init(DE);
1706
	cell_cursor_init(DE);