earlybrowserreborn - Diff between revs 1 and 4

Subversion Repositories:
Rev:
Show entire file - Ignore whitespace
Rev 1 Rev 4
Line 479... Line 479...
479 **              current style. Text after the split (if split nonzero) 479 **              current style. Text after the split (if split nonzero)
480 **              is taken over onto the next line. 480 **              is taken over onto the next line.
481 */ 481 */
482 PRIVATE void new_line ARGS1(HText *,text) 482 PRIVATE void new_line ARGS1(HText *,text)
483 { 483 {
484         PRIVATE void split_line(); -  
-   484 //      PRIVATE void split_line();
485         split_line(text, text->tbuffi); 485         split_line(text, text->tbuffi);
486         return; 486         return;
487 } 487 }
488 488
489 #define VERBOSE_SPLIT_LINE___ -  
490 PRIVATE void split_line ARGS2(HText *,text, int,split) -  
-   489 //#define VERBOSE_SPLIT_LINE___
-   490 /*PRIVATE*/ void split_line ARGS2(HText *,text, int,split)
491 { 491 {
492         HTStyle *style = text->style; 492         HTStyle *style = text->style;
493         HTStyle *nextstyle = text->next_style; 493         HTStyle *nextstyle = text->next_style;
494         TFLineNode *newp; 494         TFLineNode *newp;
495         TFChar *tfcp, itfc; 495         TFChar *tfcp, itfc;
Line 1021... Line 1021...
1021 */ 1021 */
1022         anchorInP = 0; 1022         anchorInP = 0;
1023 #endif 1023 #endif
1024 } 1024 }
1025 1025
1026 PUBLIC void HText_appendText ARGS2(HText *,text, char *,str) -  
-   1026 PUBLIC void HText_appendText ARGS2(HText *,text, const char *,str)
1027 { 1027 {
1028         char *p; 1028         char *p;
1029         for (p = str; *p; p++) HText_appendCharacter(text, *p); 1029         for (p = str; *p; p++) HText_appendCharacter(text, *p);
1030 } 1030 }
1031 1031
Line 1154... Line 1154...
1154 1154
1155 /*      Paste in styled text 1155 /*      Paste in styled text
1156 */ 1156 */
1157 PUBLIC void HText_replaceSel ARGS3( 1157 PUBLIC void HText_replaceSel ARGS3(
1158         HText *,me, 1158         HText *,me,
1159         char *,aString, -  
-   1159         CONST char *,aString,
1160         HTStyle *,aStyle) 1160         HTStyle *,aStyle)
1161 { 1161 {
1162         printf("HText_replaceSel.\n"); 1162         printf("HText_replaceSel.\n");
1163 } 1163 }
1164 1164