168,7 → 168,7 |
.end_dir_init: |
|
;--- load ini file --- |
copy_path ini_name,sys_path,file_name,0x0 |
copy_path ini_name,sys_path,file_name,0 |
;window startup pozition |
stdcall dword[ini_get_int],file_name,ini_sec_window,key_window_l,ini_def_window_l |
mov word[wnd_s_pos+2],ax |
190,11 → 190,27 |
mov dword[tedit0.rec.height],eax |
lea eax,[eax+eax*2] |
mov dword[tedit0.rec.top],eax |
;ä ©«®¢ë¥ à áè¨à¥¨ï |
xor edx,edx |
mov ebx,synt_auto_open |
@@: |
;¡¥à¥¬ ¨¬ï ä ©« |
stdcall dword[ini_get_str],file_name,ini_sec_options,key_synt_file,ebx,32,ini_def_synt_f |
cmp byte[ebx],0 |
je @f |
inc byte[key_synt_file.numb] |
add ebx,32 |
;¡¥à¥¬ à áè¨à¥¨ï |
stdcall dword[ini_get_str],file_name,ini_sec_options,key_synt_ext,ebx,32,ini_def_synt_f |
inc byte[key_synt_ext.numb] |
add ebx,32 |
inc edx |
cmp edx,max_synt_auto_open |
jl @b |
@@: |
|
;--- load color option file --- |
mov ebx,dword[fn_col_option] |
copy_path ebx,fn_syntax_dir,file_name_rez,0x0 |
copy_path file_name_rez,sys_path,file_name,0x0 |
call open_unpac_synt_file |
|
;--- get cmd line --- |
509,7 → 525,6 |
edit2 edit_box TED_PANEL_WIDTH-1, 0, 20, 0xffffff, 0xff80, 0xff0000, 0xff, 0x4080, 300, buf_find, mouse_dd, 0 |
|
unpac_mem dd 0 |
buf_find db 302 dup(0) |
|
if lang eq ru |
head_f_i: |
555,6 → 570,12 |
|
IncludeIGlobals |
i_end: |
dir_mem rb 32+304*count_of_dir_list_files |
wnd_s_pos: ;¬¥áâ® ¤«ï áâ஥ª áâ à⮢®© ¯®§¨æ¨¨ ®ª |
rq 1 |
last_open_synt_file rb 32 ;¨¬ï ¯®á«¥¤¥£® ¯®¤ª«î祮£® ä ©« á¨â ªá¨á |
buf rb BUF_SIZE ;¡ãä¥à ¤«ï ª®¯¨à®¢ ¨ï ¨ ¢áâ ¢ª¨ |
buf_find rb 302 ;¡ãä¥à ¤«ï ¯®¨áª ⥪áâ |
IncludeUGlobals |
rb 1024 |
align 16 |