Rev 8533 | Rev 8929 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8533 | Rev 8852 | ||
---|---|---|---|
Line 760... | Line 760... | ||
760 | add edx,4 |
760 | add edx,4 |
761 | loop @b |
761 | loop @b |
Line 762... | Line 762... | ||
762 | 762 | ||
763 | ;init: ted_colors_text_count, ted_key_words_count, ... |
763 | ;init: ted_colors_text_count, ted_key_words_count, ... |
764 | mov ted_colors_text_count,1 |
- | |
765 | mov ted_key_words_count,0 |
764 | mov ted_colors_text_count,1 |
766 | mov ted_help_text_f1,0 |
765 | mov ted_help_text_f1,0 |
Line 767... | Line 766... | ||
767 | mov ted_help_id,-1 ;¨¤¥â¨ä¨ª â®à á«®¢ ¤«ï á¯à ¢ª¨ |
766 | mov ted_help_id,-1 ;¨¤¥â¨ä¨ª â®à á«®¢ ¤«ï á¯à ¢ª¨ |
768 | 767 | ||
769 | mov eax,edi ;á®åà 塞 § 票¥ edi |
768 | mov eax,edi ;á®åà 塞 § 票¥ edi |
770 | mov esi,ted_syntax_file |
769 | mov esi,ted_syntax_file |
771 | add edi,ted_offs_count_colors |
770 | add edi,ted_offs_count_colors ;edi = &ted_key_words_count |
772 | mov ecx,9 |
771 | mov ecx,9 |
Line 773... | Line 772... | ||
773 | rep movsd |
772 | rep movsd |
Line 781... | Line 780... | ||
781 | lea eax,[4*eax+32] |
780 | lea eax,[4*eax+32] |
782 | add eax,ted_syntax_file |
781 | add eax,ted_syntax_file |
783 | mov ted_key_words_data,eax |
782 | mov ted_key_words_data,eax |
Line 784... | Line 783... | ||
784 | 783 | ||
- | 784 | mov ecx,ted_key_words_count ;init: ted_arr_key_pos (first key positions) |
|
- | 785 | or ecx,ecx |
|
785 | mov ecx,ted_key_words_count ;init: ted_arr_key_pos (first key positions) |
786 | jz .no_words |
786 | xor eax,eax |
787 | xor eax,eax |
787 | @@: |
788 | @@: |
788 | ColToIndexOffset eax,edx |
789 | ColToIndexOffset eax,edx |
789 | movzx ebx,byte[edx] |
790 | movzx ebx,byte[edx] |
Line 793... | Line 794... | ||
793 | jne .no_ch_key |
794 | jne .no_ch_key |
794 | mov [esi],eax |
795 | mov [esi],eax |
795 | .no_ch_key: |
796 | .no_ch_key: |
796 | inc eax |
797 | inc eax |
797 | loop @b |
798 | loop @b |
- | 799 | .no_words: |
|
Line 798... | Line 800... | ||
798 | 800 | ||
799 | ;init: ted_help_text_f1 |
801 | ;init: ted_help_text_f1 |
800 | mov ecx,ted_key_words_count ;ª®«¨ç¥á⢮ ª«î祢ëå á«®¢ |
802 | mov ecx,ted_key_words_count ;ª®«¨ç¥á⢮ ª«î祢ëå á«®¢ |
801 | imul ecx,sizeof.TexColViv ;à §¬¥à áâàãªâãàë á 1-¬ ª«. á«. |
803 | imul ecx,sizeof.TexColViv ;à §¬¥à áâàãªâãàë á 1-¬ ª«. á«. |