Subversion Repositories Kolibri OS

Rev

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

Rev 2632 Rev 2707
Line 167... Line 167...
167
 
167
 
168
;--- load color option file ---
168
;--- load color option file ---
169
	mov ebx,dword[fn_col_option]
169
	mov ebx,dword[fn_col_option]
170
	copy_path ebx,fn_syntax_dir,file_name_rez,0x0
170
	copy_path ebx,fn_syntax_dir,file_name_rez,0x0
-
 
171
	copy_path file_name_rez,sys_path,file_name,0x0
-
 
172
	mov edi, tedit0
-
 
173
	mov ebx,run_file_70
-
 
174
	mov dword[ebx], 0
-
 
175
	mov dword[ebx+4], 0
-
 
176
	mov dword[ebx+8], 0
-
 
177
	mov ecx, ted_syntax_file_size
-
 
178
	mov dword[ebx+12], ecx
-
 
179
	m2m dword[ebx+16], ted_syntax_file
-
 
180
	mov  byte[ebx+20], 0
-
 
181
	m2m dword[ebx+21], file_name
-
 
182
	mcall 70
-
 
183
	cmp eax,0
-
 
184
	jne .end_0
-
 
185
		call ted_on_init_synt_err
-
 
186
		jmp @f
171
	copy_path file_name_rez,sys_path,file_name,0x0
187
	.end_0:
Line 172... Line 188...
172
	stdcall [ted_init_syntax_file], tedit0,run_file_70,file_name
188
	stdcall [ted_init_syntax_file], edi
173
 
189
 
174
;--- get cmd line ---
190
;--- get cmd line ---
175
  cmp byte[openfile_path+3],0 ;openfile_path
191
  cmp byte[openfile_path+3],0 ;openfile_path