Subversion Repositories Kolibri OS

Rev

Rev 2348 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2348 Rev 2707
Line 683... Line 683...
683
	ret
683
	ret
684
endp
684
endp
Line 685... Line 685...
685
 
685
 
686
 
686
 
687
align 4
687
align 4
688
proc ted_init_syntax_file, edit:dword, file:dword, f_name:dword
688
proc ted_init_syntax_file, edit:dword
Line 689... Line -...
689
	pushad
-
 
690
	mov edi,dword[edit]
-
 
691
 
-
 
692
	mov eax,70
-
 
693
	mov ebx,dword[file]
-
 
694
	mov dword[ebx], 0
-
 
695
	mov dword[ebx+4], 0
-
 
696
	mov dword[ebx+8], 0
-
 
697
	mov ecx,ted_syntax_file_size
-
 
698
	mov dword[ebx+12], ecx
-
 
699
	m2m dword[ebx+16], ted_syntax_file
-
 
700
	mov  byte[ebx+20], 0
-
 
701
	m2m dword[ebx+21], dword[f_name]
689
	pushad
702
	int 0x40
690
	mov edi,dword[edit]
703
 
691
 
704
	mov ecx,0x100
692
	mov ecx,0x100
705
	mov edx,ted_arr_key_pos
693
	mov edx,ted_arr_key_pos
Line 712... Line 700...
712
	mov ted_colors_text_count,1
700
	mov ted_colors_text_count,1
713
	mov ted_key_words_count,0
701
	mov ted_key_words_count,0
714
	mov ted_help_text_f1,0
702
	mov ted_help_text_f1,0
715
	mov ted_help_id,-1 ;¨¤¥­â¨ä¨ª â®à á«®¢  ¤«ï á¯à ¢ª¨
703
	mov ted_help_id,-1 ;¨¤¥­â¨ä¨ª â®à á«®¢  ¤«ï á¯à ¢ª¨
Line 716... Line -...
716
 
-
 
717
	cmp eax,6
-
 
718
	je @f
-
 
719
	cmp eax,0
-
 
720
	je @f
-
 
721
		cmp ax,10
-
 
722
		jl .zifra_0_9
-
 
723
			mov al,'?'
-
 
724
			sub ax,48
-
 
725
		.zifra_0_9:
-
 
726
		add ax,48
-
 
727
		cmp ted_fun_init_synt_err,0
-
 
728
		je .no_colors
-
 
729
			call ted_fun_init_synt_err
-
 
730
			jmp .no_colors
-
 
731
	@@:
-
 
732
 
704
 
733
	mov eax,edi ;á®å࠭塞 §­ ç¥­¨¥ edi
705
	mov eax,edi ;á®å࠭塞 §­ ç¥­¨¥ edi
734
	mov esi,ted_syntax_file
706
	mov esi,ted_syntax_file
735
	add edi,ted_offs_count_colors
707
	add edi,ted_offs_count_colors
736
	mov ecx,9*4
708
	mov ecx,9*4