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 16... | Line 16... | ||
16 | tc dd ? ;+10 ¢à¥¬. ᮧ¤ ¨ï |
16 | tc dd ? ;+10 ¢à¥¬. ᮧ¤ ¨ï |
17 | td dd ? ;+14 ¢à¥¬. 㤠«¥¨ï |
17 | td dd ? ;+14 ¢à¥¬. 㤠«¥¨ï |
18 | ends |
18 | ends |
Line 19... | Line 19... | ||
19 | 19 | ||
20 | 20 | ||
Line 21... | Line 21... | ||
21 | hed db 'TextEditor 19.04.12',0 ;¯®¤¯¨áì ®ª |
21 | hed db 'TextEditor 31.05.12',0 ;¯®¤¯¨áì ®ª |
22 | sc system_colors |
22 | sc system_colors |
23 | 23 | ||
Line 195... | Line 195... | ||
195 | ret |
195 | ret |
Line 196... | Line 196... | ||
196 | 196 | ||
197 | ;description: |
197 | ;description: |
198 | ; äãªæ¨ï ¦ â¨ï ª®¯ªã [ਬ¥¨âì] ¢ ¯ ¥«¨ á¨â ªá¨á |
198 | ; äãªæ¨ï ¦ â¨ï ª®¯ªã [ਬ¥¨âì] ¢ ¯ ¥«¨ á¨â ªá¨á |
199 | align 4 |
199 | align 4 |
200 | proc ted_but_open_syntax, edit:dword |
- | |
201 | push ebx edi |
200 | proc ted_but_open_syntax uses eax ebx ecx edi, edit:dword |
202 | mov edi,dword[edit] |
- | |
203 | 201 | mov edi,dword[edit] |
|
204 | cmp ted_panel_id,TED_PANEL_SYNTAX |
202 | cmp ted_panel_id,TED_PANEL_SYNTAX |
205 | jne @f |
203 | jne @f |
206 | stdcall dword[tl_node_get_data], tree1 |
204 | stdcall dword[tl_node_get_data], tree1 |
207 | pop dword[fn_col_option] |
205 | pop dword[fn_col_option] |
208 | mov ebx,dword[fn_col_option] |
206 | mov ebx,dword[fn_col_option] |
209 | copy_path ebx,fn_syntax_dir,file_name_rez,0x0 |
207 | copy_path ebx,fn_syntax_dir,file_name_rez,0x0 |
- | 208 | copy_path file_name_rez,sys_path,file_name,0x0 |
|
- | 209 | ||
- | 210 | mov ebx,run_file_70 |
|
- | 211 | mov dword[ebx], 0 |
|
- | 212 | mov dword[ebx+4], 0 |
|
- | 213 | mov dword[ebx+8], 0 |
|
- | 214 | mov ecx, ted_syntax_file_size |
|
- | 215 | mov dword[ebx+12], ecx |
|
- | 216 | m2m dword[ebx+16], ted_syntax_file |
|
- | 217 | mov byte[ebx+20], 0 |
|
- | 218 | m2m dword[ebx+21], file_name |
|
- | 219 | mcall 70 |
|
- | 220 | cmp eax,0 |
|
- | 221 | jne .end_0 |
|
- | 222 | call ted_on_init_synt_err |
|
- | 223 | jmp @f |
|
210 | copy_path file_name_rez,sys_path,file_name,0x0 |
224 | .end_0: |
211 | stdcall [ted_init_syntax_file],edi,run_file_70,file_name |
225 | stdcall [ted_init_syntax_file],edi |
212 | call [ted_text_colored] |
226 | call [ted_text_colored] |
213 | stdcall [ted_draw],edi |
227 | stdcall [ted_draw],edi |
214 | @@: |
- | |
215 | pop edi ebx |
228 | @@: |
216 | ret |
229 | ret |
Line 217... | Line 230... | ||
217 | endp |
230 | endp |
218 | 231 |