463,7 → 463,19 |
if (tag[strlen(#tag)-1]=='/') tag[strlen(#tag)-1]=NULL; //for br/ |
if (tagparam) && (strlen(#tagparam) < 4000) GetNextParam(); |
|
if (stolbec + strlen(#line) > lines.column_max) |
{ |
perenos_num = strrchr(#line, ' '); |
if (!perenos_num) && (strlen(#line)>lines.column_max) perenos_num=lines.column_max; |
strcpy(#temp, #line + perenos_num); //ïåðåíîñ ïî ñëîâàì |
line[perenos_num] = 0x00; |
if (stroka >= lines.visible) && (lines.first <>0) break 1; //óõîäèì... |
DrawPage(); |
strcpy(#line, #temp); |
|
TextGoDown(left + 5, stroka * 10 + top + 5, width - 20); //çàêðàøèâàåì ñëåäóùóþ ñòðîêó |
} |
DrawPage(); |
line=NULL; |
|
if (tag) WhatTextStyle(left + 5, stroka * 10 + top + 5, width - 20); //îáðàáîòêà òåãîâ |
488,8 → 500,9 |
line[perenos_num] = 0x00; |
if (stroka >= lines.visible) && (lines.first <>0) break 1; //óõîäèì... |
DrawPage(); |
strcpy(#line, #temp); |
|
TextGoDown(left + 5, stroka * 10 + top + 5, width - 20); //çàêðàøèâàåì ñëåäóùóþ ñòðîêó |
strcpy(#line, #temp); |
} |
} |
} |