Rev 14664 | Rev 14712 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 14664 | Rev 14711 | ||
---|---|---|---|
Line 834... | Line 834... | ||
834 | if(strcmp(buf[0],"item")==0) style=2; |
834 | if(strcmp(buf[0],"item")==0) style=2; |
835 | else { |
835 | else { |
836 | if(strcmp(buf[0],"line")==0) style=3; |
836 | if(strcmp(buf[0],"line")==0) style=3; |
837 | else { |
837 | else { |
838 | if(strcmp(buf[0],"char")==0) style=4; |
838 | if(strcmp(buf[0],"char")==0) style=4; |
- | 839 | else { |
|
- | 840 | if(strcmp(buf[0],"row")==0) style=5; |
|
- | 841 | } |
|
839 | } |
842 | } |
840 | } |
843 | } |
841 | } |
844 | } |
842 | if(style>0) p1=find_word_start(find_word_end(p1)); |
845 | if(style>0) p1=find_word_start(find_word_end(p1)); |
843 | ovlstrcpy(buf[0],p1); ovlstrcpy(buf[1],p2); |
846 | ovlstrcpy(buf[0],p1); ovlstrcpy(buf[1],p2); |
Line 865... | Line 868... | ||
865 | _pos(buf[1],buf[0],style,p,fnd_line,linenum); |
868 | _pos(buf[1],buf[0],style,p,fnd_line,linenum); |
866 | return; |
869 | return; |
867 | } |
870 | } |
868 | case 4: { /* char */ |
871 | case 4: { /* char */ |
869 | _pos(buf[1],buf[0],style,p,fnd_char,charnum); |
872 | _pos(buf[1],buf[0],style,p,fnd_char,charnum); |
- | 873 | return; |
|
- | 874 | } |
|
- | 875 | case 5: { /* row */ |
|
- | 876 | _pos(buf[1],buf[0],style,p,fnd_row,rownum); |
|
870 | return; |
877 | return; |
871 | } |
878 | } |
872 | } |
879 | } |
873 | } |
880 | } |
874 | 881 |