Lines Matching refs:numrows
121 int numrows; /* Number of rows */
536 if (row->hl_oc != oc && row->idx+1 < E.numrows)
607 if (at > E.numrows) return;
608 E.row = realloc(E.row,sizeof(erow)*(E.numrows+1));
609 if (at != E.numrows) {
610 memmove(E.row+at+1,E.row+at,sizeof(E.row[0])*(E.numrows-at));
611 for (int j = at+1; j <= E.numrows; j++) E.row[j].idx++;
622 E.numrows++;
638 if (at >= E.numrows) return;
641 memmove(E.row+at,E.row+at+1,sizeof(E.row[0])*(E.numrows-at-1));
642 for (int j = at; j < E.numrows-1; j++) E.row[j].idx++;
643 E.numrows--;
657 for (j = 0; j < E.numrows; j++)
663 for (j = 0; j < E.numrows; j++) {
720 erow *row = (filerow >= E.numrows) ? NULL : &E.row[filerow];
725 while(E.numrows <= filerow)
726 editorInsertRow(E.numrows,"",0);
742 erow *row = (filerow >= E.numrows) ? NULL : &E.row[filerow];
745 if (filerow == E.numrows) {
778 erow *row = (filerow >= E.numrows) ? NULL : &E.row[filerow];
833 editorInsertRow(E.numrows,line,linelen);
912 if (filerow >= E.numrows) {
913 if (E.numrows == 0 && y == E.screenrows/3) {
977 E.filename, E.numrows, E.dirty ? "(modified)" : "");
979 "%d/%d",E.rowoff+E.cy+1,E.numrows);
1005 erow *row = (filerow >= E.numrows) ? NULL : &E.row[filerow];
1088 for (i = 0; i < E.numrows; i++) {
1090 if (current == -1) current = E.numrows-1;
1091 else if (current == E.numrows) current = 0;
1134 erow *row = (filerow >= E.numrows) ? NULL : &E.row[filerow];
1180 if (filerow < E.numrows) {
1192 row = (filerow >= E.numrows) ? NULL : &E.row[filerow];
1284 E.numrows = 0;