Rev 2817 | Rev 3014 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2817 | Rev 2855 | ||
---|---|---|---|
Line 166... | Line 166... | ||
166 | loop @b |
166 | loop @b |
167 | stdcall dword[tl_cur_beg],tree1 ;áâ ¢¨¬ ªãàá®à ç «® ᯨ᪠|
167 | stdcall dword[tl_cur_beg],tree1 ;áâ ¢¨¬ ªãàá®à ç «® ᯨ᪠|
168 | .end_dir_init: |
168 | .end_dir_init: |
Line 169... | Line 169... | ||
169 | 169 | ||
170 | ;--- load ini file --- |
170 | ;--- load ini file --- |
171 | copy_path ini_name,sys_path,file_name,0x0 |
171 | copy_path ini_name,sys_path,file_name,0 |
172 | ;window startup pozition |
172 | ;window startup pozition |
173 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_window_l,ini_def_window_l |
173 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_window_l,ini_def_window_l |
174 | mov word[wnd_s_pos+2],ax |
174 | mov word[wnd_s_pos+2],ax |
175 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_window_w,ini_def_window_w |
175 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_window_w,ini_def_window_w |
Line 188... | Line 188... | ||
188 | mov dword[tedit0.rec.width],eax |
188 | mov dword[tedit0.rec.width],eax |
189 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_symbol_h,ini_def_symbol_h |
189 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_symbol_h,ini_def_symbol_h |
190 | mov dword[tedit0.rec.height],eax |
190 | mov dword[tedit0.rec.height],eax |
191 | lea eax,[eax+eax*2] |
191 | lea eax,[eax+eax*2] |
192 | mov dword[tedit0.rec.top],eax |
192 | mov dword[tedit0.rec.top],eax |
- | 193 | ;ä ©«®¢ë¥ à áè¨à¥¨ï |
|
- | 194 | xor edx,edx |
|
- | 195 | mov ebx,synt_auto_open |
|
- | 196 | @@: |
|
- | 197 | ;¡¥à¥¬ ¨¬ï ä ©« |
|
- | 198 | stdcall dword[ini_get_str],file_name,ini_sec_options,key_synt_file,ebx,32,ini_def_synt_f |
|
- | 199 | cmp byte[ebx],0 |
|
- | 200 | je @f |
|
- | 201 | inc byte[key_synt_file.numb] |
|
- | 202 | add ebx,32 |
|
- | 203 | ;¡¥à¥¬ à áè¨à¥¨ï |
|
- | 204 | stdcall dword[ini_get_str],file_name,ini_sec_options,key_synt_ext,ebx,32,ini_def_synt_f |
|
- | 205 | inc byte[key_synt_ext.numb] |
|
- | 206 | add ebx,32 |
|
- | 207 | inc edx |
|
- | 208 | cmp edx,max_synt_auto_open |
|
- | 209 | jl @b |
|
- | 210 | @@: |
|
Line 193... | Line 211... | ||
193 | 211 | ||
194 | ;--- load color option file --- |
212 | ;--- load color option file --- |
195 | mov ebx,dword[fn_col_option] |
- | |
196 | copy_path ebx,fn_syntax_dir,file_name_rez,0x0 |
- | |
197 | copy_path file_name_rez,sys_path,file_name,0x0 |
213 | mov ebx,dword[fn_col_option] |
Line 198... | Line 214... | ||
198 | call open_unpac_synt_file |
214 | call open_unpac_synt_file |
199 | 215 | ||
200 | ;--- get cmd line --- |
216 | ;--- get cmd line --- |
Line 507... | Line 523... | ||
507 | 523 | ||
508 | edit1 edit_box 250, 220, 5, 0xffffff, 0xff80, 0xff0000, 0xff, 0x4080, 4090, openfile_path, mouse_dd, 0 |
524 | edit1 edit_box 250, 220, 5, 0xffffff, 0xff80, 0xff0000, 0xff, 0x4080, 4090, openfile_path, mouse_dd, 0 |
Line 509... | Line 525... | ||
509 | edit2 edit_box TED_PANEL_WIDTH-1, 0, 20, 0xffffff, 0xff80, 0xff0000, 0xff, 0x4080, 300, buf_find, mouse_dd, 0 |
525 | edit2 edit_box TED_PANEL_WIDTH-1, 0, 20, 0xffffff, 0xff80, 0xff0000, 0xff, 0x4080, 300, buf_find, mouse_dd, 0 |
510 | - | ||
Line 511... | Line 526... | ||
511 | unpac_mem dd 0 |
526 | |
512 | buf_find db 302 dup(0) |
527 | unpac_mem dd 0 |
513 | 528 | ||
514 | if lang eq ru |
529 | if lang eq ru |
Line 553... | Line 568... | ||
553 | err_message_found_lib_4, head_f_l, import_libini, err_message_import_4, head_f_i |
568 | err_message_found_lib_4, head_f_l, import_libini, err_message_import_4, head_f_i |
554 | load_lib_end: |
569 | load_lib_end: |
Line 555... | Line 570... | ||
555 | 570 | ||
556 | IncludeIGlobals |
571 | IncludeIGlobals |
- | 572 | i_end: |
|
- | 573 | dir_mem rb 32+304*count_of_dir_list_files |
|
- | 574 | wnd_s_pos: ;¬¥áâ® ¤«ï áâ஥ª áâ à⮢®© ¯®§¨æ¨¨ ®ª |
|
- | 575 | rq 1 |
|
- | 576 | last_open_synt_file rb 32 ;¨¬ï ¯®á«¥¤¥£® ¯®¤ª«î祮£® ä ©« á¨â ªá¨á |
|
- | 577 | buf rb BUF_SIZE ;¡ãä¥à ¤«ï ª®¯¨à®¢ ¨ï ¨ ¢áâ ¢ª¨ |
|
557 | i_end: |
578 | buf_find rb 302 ;¡ãä¥à ¤«ï ¯®¨áª ⥪áâ |
558 | IncludeUGlobals |
579 | IncludeUGlobals |
559 | rb 1024 |
580 | rb 1024 |
560 | align 16 |
581 | align 16 |
561 | procinfo process_information |
582 | procinfo process_information |