version 1.17, 2016/03/16 15:36:26 |
version 1.18, 2016/09/17 15:06:41 |
|
|
return; |
return; |
} |
} |
|
|
for (slinenum = TOP; slinenum < TOP + sc_height-1; slinenum++) { |
for (slinenum = TOP; slinenum < TOP + sc_height-1; slinenum++) { |
pos = position(slinenum); |
pos = position(slinenum); |
if (pos == -1) |
if (pos == -1) |
continue; |
continue; |
|
|
* Hilites are sorted in the list; find where new one belongs. |
* Hilites are sorted in the list; find where new one belongs. |
* Insert new one after ihl. |
* Insert new one after ihl. |
*/ |
*/ |
for (ihl = anchor; ihl->hl_next != NULL; ihl = ihl->hl_next) |
for (ihl = anchor; ihl->hl_next != NULL; ihl = ihl->hl_next) |
{ |
{ |
if (ihl->hl_next->hl_startpos > hl->hl_startpos) |
if (ihl->hl_next->hl_startpos > hl->hl_startpos) |
break; |
break; |