Rev 7861 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7861 | Rev 8442 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | 9 | ||
10 | include '../../macros.inc' |
10 | include '../../macros.inc' |
11 | include '../../proc32.inc' |
11 | include '../../proc32.inc' |
12 | include '../../KOSfuncs.inc' |
12 | include '../../KOSfuncs.inc' |
- | 13 | include '../../load_img.inc' |
|
13 | include '../../load_img.inc' |
14 | include '../../load_lib.mac' |
14 | include '../../develop/libraries/box_lib/trunk/box_lib.mac' |
15 | include '../../develop/libraries/box_lib/trunk/box_lib.mac' |
15 | include '../../system/skincfg/trunk/kglobals.inc' |
16 | include '../../system/skincfg/trunk/kglobals.inc' |
16 | include '../../system/skincfg/trunk/unpacker.inc' |
17 | include '../../system/skincfg/trunk/unpacker.inc' |
17 | include 'te_data.inc' |
18 | include 'te_data.inc' |
Line 18... | Line 19... | ||
18 | include 'te_work.inc' ;text work functions |
19 | include 'te_work.inc' ;text work functions |
Line 19... | Line 20... | ||
19 | 20 | ||
Line 20... | Line 21... | ||
20 | @use_library_mem mem.Alloc,mem.Free,mem.ReAlloc,dll.Load |
21 | @use_library mem.Alloc,mem.Free,mem.ReAlloc,dll.Load |
21 | 22 | ||
Line 322... | Line 323... | ||
322 | 323 | ||
323 | align 4 |
324 | align 4 |
324 | but_ctrl_o: |
325 | but_ctrl_o: |
325 | push eax |
326 | push eax |
326 | call get_wnd_in_focus |
327 | call get_wnd_in_focus |
327 | cmp eax,0 |
328 | or eax,eax |
328 | je @f |
329 | jz @f |
329 | stdcall [ted_open_file], eax,str_file_70,[edit1.text] |
330 | stdcall [ted_open_file], eax,str_file_70,[edit1.text] |
330 | @@: |
331 | @@: |
331 | pop eax |
332 | pop eax |
Line 332... | Line 333... | ||
332 | ret |
333 | ret |
333 | 334 | ||
334 | ;ᮧ¤ ¨¥ ®¢®£® ä ©« |
335 | ;ᮧ¤ ¨¥ ®¢®£® ä ©« |
335 | align 4 |
336 | align 4 |
336 | but_ctrl_n: |
337 | but_ctrl_n: |
337 | push eax |
338 | push eax |
338 | call get_wnd_in_focus |
339 | call get_wnd_in_focus |
339 | cmp eax,0 |
340 | or eax,eax |
340 | je @f |
341 | jz @f |
341 | stdcall [ted_clear], eax,1 |
342 | stdcall [ted_clear], eax,1 |
342 | stdcall [ted_draw], eax |
343 | stdcall [ted_draw], eax |
343 | @@: |
344 | @@: |
Line 356... | Line 357... | ||
356 | ;jne @f |
357 | ;jne @f |
357 | ; mov eax,tedit1 |
358 | ; mov eax,tedit1 |
358 | ;@@: |
359 | ;@@: |
359 | ret |
360 | ret |
Line 360... | Line 361... | ||
360 | 361 | ||
361 | hed db 'TextEditor syntax file converter 06.02.20',0 ;¯®¤¯¨áì ®ª |
362 | hed db 'TextEditor syntax file converter 18.12.20',0 ;¯®¤¯¨áì ®ª |
Line 362... | Line 363... | ||
362 | conv_tabl rb 128 ; â ¡«¨æ ¤«ï ª®¢¥àâ¨à®¢ ¨ï scan-ª®¤ ¢ ascii-ª®¤ |
363 | conv_tabl rb 128 ; â ¡«¨æ ¤«ï ª®¢¥àâ¨à®¢ ¨ï scan-ª®¤ ¢ ascii-ª®¤ |
363 | 364 | ||
364 | txt_load_f db ' £à. ä ©«',0 |
365 | txt_load_f db ' £à. ä ©«',0 |
365 | txt_save_f db '®åà. ä ©«',0 |
366 | txt_save_f db '®åà. ä ©«',0 |
Line 366... | Line -... | ||
366 | txt_inp_file db 'áå. ä ©«:',0 |
- | |
367 | txt_out_file db 'ëå. ä ©«:',0 |
- | |
368 | - | ||
369 | head_f_i: |
- | |
370 | head_f_l db '"System error',0 |
- | |
371 | err_message_found_lib_0 db 'Sorry I cannot found library ',39,'box_lib.obj',39,'" -tE',0 |
- | |
372 | err_message_import_0 db 'Error on load import library ',39,'box_lib.obj',39,'" -tW',0 |
- | |
373 | err_message_found_lib_1 db 'Sorry I cannot found library ',39,'libimg.obj',39,'" -tE',0 |
367 | txt_inp_file db 'áå. ä ©«:',0 |
374 | err_message_import_1 db 'Error on load import library ',39,'libimg.obj',39,'" -tW',0 |
368 | txt_out_file db 'ëå. ä ©«:',0 |
375 | 369 | ||
376 | ;library structures |
370 | ;library structures |
377 | l_libs_start: |
371 | l_libs_start: |
Line 378... | Line 372... | ||
378 | lib0 l_libs lib_name_0, sys_path, file_name, system_dir_0, err_message_found_lib_0, head_f_l, import_box_lib,err_message_import_0, head_f_i |
372 | lib0 l_libs lib_name_0, file_name, system_dir_0, import_box_lib |
Line 379... | Line 373... | ||
379 | lib1 l_libs lib_name_1, sys_path, file_name, system_dir_1, err_message_found_lib_1, head_f_l, import_libimg,err_message_import_1, head_f_i |
373 | lib1 l_libs lib_name_1, file_name, system_dir_1, import_libimg |
Line 387... | Line 381... | ||
387 | procinfo process_information |
381 | procinfo process_information |
388 | rb 1024 |
382 | rb 1024 |
389 | thread: |
383 | thread: |
390 | rb 1024 |
384 | rb 1024 |
391 | stacktop: |
385 | stacktop: |
392 | sys_path: |
- | |
393 | rb 4096 |
386 | sys_path rb 4096 |
394 | file_name: |
387 | file_name rb 4096 |
395 | rb 4096 |
- | |
396 | file_name_rez: |
388 | file_name_rez rb 4096 |
397 | rb 4096 |
- | |
398 | mem:10,333>10,555> |
389 | mem:10,333>10,555> |