Rev 7575 | Rev 7579 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7575 | Rev 7577 | ||
---|---|---|---|
Line 54... | Line 54... | ||
54 | mov [tree1.data_img],eax |
54 | mov [tree1.data_img],eax |
55 | ;------------------------------------------------------------------------------ |
55 | ;------------------------------------------------------------------------------ |
56 | copy_path fn_syntax_dir,sys_path,file_name,0 ;¡¥à¥¬ ¯ãâì ª ¯ ¯ª¥ á ä ©« ¬¨ á¨â ªá¨á |
56 | copy_path fn_syntax_dir,sys_path,file_name,0 ;¡¥à¥¬ ¯ãâì ª ¯ ¯ª¥ á ä ©« ¬¨ á¨â ªá¨á |
57 | mcall SF_FILE,tree_file_struct |
57 | mcall SF_FILE,tree_file_struct |
Line 58... | Line 58... | ||
58 | 58 | ||
59 | cmp ebx,-1 |
59 | cmp ebx,0 |
60 | je .end_dir_init |
60 | jle .end_dir_init |
61 | mov eax,dir_mem |
- | |
62 | add eax,32+4+1+3+4*6+8 |
61 | mov eax,dir_mem+32+40 |
63 | mov ecx,ebx |
62 | mov ecx,ebx |
64 | @@: |
63 | @@: |
65 | cmp byte[eax],'.' ;䨫ìâà㥬 ä ©«ë á ¨¬¥ ¬¨ '.' ¨ '..' |
64 | cmp byte[eax],'.' ;䨫ìâà㥬 ä ©«ë á ¨¬¥ ¬¨ '.' ¨ '..' |
66 | je .filter |
65 | je .filter |
Line 71... | Line 70... | ||
71 | loop @b |
70 | loop @b |
72 | stdcall [tl_cur_beg],tree1 ;áâ ¢¨¬ ªãàá®à ç «® ᯨ᪠|
71 | stdcall [tl_cur_beg],tree1 ;áâ ¢¨¬ ªãàá®à ç «® ᯨ᪠|
73 | or dword[tree1.style], tl_cursor_pos_limited ;®£à ¨ç¨¢ ¥¬ ¤¢¨¦¥¨¥ ªãàá®à ¢ ¯à¥¤¥« å ᯨ᪠|
72 | or dword[tree1.style], tl_cursor_pos_limited ;®£à ¨ç¨¢ ¥¬ ¤¢¨¦¥¨¥ ªãàá®à ¢ ¯à¥¤¥« å ᯨ᪠|
74 | .end_dir_init: |
73 | .end_dir_init: |
Line -... | Line 74... | ||
- | 74 | ||
- | 75 | xor eax,eax |
|
- | 76 | inc eax |
|
- | 77 | mov [scrol_w1.type],eax |
|
- | 78 | mov [scrol_h1.type],eax |
|
- | 79 | mov [ws_dir_lbox.type],eax |
|
75 | 80 | ||
76 | ;--- load color option file --- |
81 | ;--- load color option file --- |
77 | stdcall [ted_init], tedit0 |
82 | stdcall [ted_init], tedit0 |
Line 78... | Line 83... | ||
78 | mov byte[file_name],0 |
83 | mov byte[file_name],0 |
Line 134... | Line 139... | ||
134 | 139 | ||
135 | add ebx,20 |
140 | add ebx,20 |
136 | mov edx,txt_out_file |
141 | mov edx,txt_out_file |
Line 137... | Line 142... | ||
137 | int 0x40 |
142 | int 0x40 |
138 | - | ||
Line 139... | Line 143... | ||
139 | push dword PathShow_data_1 |
143 | |
140 | call [PathShow_draw] |
144 | stdcall [PathShow_draw], PathShow_data_1 |
Line 141... | Line 145... | ||
141 | 145 | ||
142 | stdcall [edit_box_draw],dword edit1 |
146 | stdcall [edit_box_draw], edit1 |
143 | stdcall [tl_draw],dword tree1 |
147 | stdcall [tl_draw], tree1 |
144 | 148 | ||
Line 145... | Line 149... | ||
145 | ;scroll 1 |
149 | ;scroll 1 |
146 | mov [ws_dir_lbox.all_redraw],1 |
150 | mov [ws_dir_lbox.all_redraw],1 |
147 | stdcall [scrollbar_ver_draw],dword ws_dir_lbox |
151 | stdcall [scrollbar_ver_draw],ws_dir_lbox |
Line 326... | Line 330... | ||
326 | ;jne @f |
330 | ;jne @f |
327 | ; mov eax,tedit1 |
331 | ; mov eax,tedit1 |
328 | ;@@: |
332 | ;@@: |
329 | ret |
333 | ret |
Line 330... | Line 334... | ||
330 | 334 | ||
331 | hed db 'TextEditor syntax file converter 15.01.19',0 ;¯®¤¯¨áì ®ª |
335 | hed db 'TextEditor syntax file converter 23.01.19',0 ;¯®¤¯¨áì ®ª |
Line 332... | Line 336... | ||
332 | conv_tabl rb 128 ; â ¡«¨æ ¤«ï ª®¢¥àâ¨à®¢ ¨ï scan-ª®¤ ¢ ascii-ª®¤ |
336 | conv_tabl rb 128 ; â ¡«¨æ ¤«ï ª®¢¥àâ¨à®¢ ¨ï scan-ª®¤ ¢ ascii-ª®¤ |
333 | 337 | ||
334 | txt_load_f db ' £à. ä ©«',0 |
338 | txt_load_f db ' £à. ä ©«',0 |
335 | txt_save_f db '®åà. ä ©«',0 |
339 | txt_save_f db '®åà. ä ©«',0 |
Line 336... | Line 340... | ||
336 | txt_inp_file db 'áå. ä ©«:',0 |
340 | txt_inp_file db 'áå. ä ©«:',0 |
337 | txt_out_file db 'ëå. ä ©«:',0 |
341 | txt_out_file db 'ëå. ä ©«:',0 |
338 | 342 | ||
339 | head_f_i: |
343 | head_f_i: |
340 | head_f_l db 'System error',0 |
344 | head_f_l db '"System error',0 |
341 | err_message_found_lib_0 db 'Sorry I cannot found library ',39,'box_lib.obj',39,0 |
345 | err_message_found_lib_0 db 'Sorry I cannot found library ',39,'box_lib.obj',39,'" -tE',0 |
Line 342... | Line 346... | ||
342 | err_message_import_0 db 'Error on load import library ',39,'box_lib.obj',39,0 |
346 | err_message_import_0 db 'Error on load import library ',39,'box_lib.obj',39,'" -tW',0 |
343 | err_message_found_lib_1 db 'Sorry I cannot found library ',39,'libimg.obj',39,0 |
347 | err_message_found_lib_1 db 'Sorry I cannot found library ',39,'libimg.obj',39,'" -tE',0 |
344 | err_message_import_1 db 'Error on load import library ',39,'libimg.obj',39,0 |
348 | err_message_import_1 db 'Error on load import library ',39,'libimg.obj',39,'" -tW',0 |
345 | 349 |