/programs/other/t_edit_synt/te_data.inc |
---|
267,8 → 267,12 |
;conv_tabl rb 128 ;â ¡«¨æ ¤«ï ª®¢¥àâ¨à®¢ ¨ï scan-ª®¤ ¢ ascii-ª®¤ |
buf db BUF_SIZE dup(0) ;¡ãä¥à ¤«ï ª®¯¨à®¢ ¨ï | ¢áâ ¢ª¨ |
capt_header db 'macro wo txt,f1,p1,p2,p3{',13 |
db '@@: db txt',13,'rb @b+40-$',13,'dd f1+0',13,'db p1',13,'dw p2+0',13,'db p3',13,'}',13 |
capt_header db 'macro wo txt,lf1,p1,p2,p3{',13 |
db '@@: db txt',13,'rb @b+40-$',13 |
db 'if lf1 eq',13,'dd 0',13 ;¥á«¨ áá뫪 f1 ¯ãáâ ï |
db 'else if lf1 eq 0',13,'dd 0',13 ;¥á«¨ áá뫪 f1 à ¢ 0 |
db 'else',13,'dd f1.#lf1-f1',13,'end if',13 ;¥á«¨ áá뫪 f1 § ¤ ¬¥âª®© |
db 'db p1',13,'dw p2+0',13,'db p3',13,'}',13 |
db 'count_colors_text dd (text-color_wnd_text)/4',13 |
db 'count_key_words dd (f1-text)/48',13,0 |
col_1 db 'color_cursor dd ',0 ;+ 98 梥⠪ãàá®à |
286,9 → 290,7 |
capt_type_dd db 9,'dd ',0 |
capt_lbl_f1 db 'f1: db 0',13,0 |
capt_end_word_f1 db 39,',0',13,0 |
capt_calc_f1 db 'f1' |
capt_point db '.',0 |
capt_lbl_f1_use db '-f1',0 |
capt_null db '0',0 |
KM_SHIFT equ 0x00010000 |
/programs/other/t_edit_synt/te_syntax.asm |
---|
56,8 → 56,13 |
copy_path fn_syntax_dir,sys_path,file_name,0 ;¡¥à¥¬ ¯ãâì ª ¯ ¯ª¥ á ä ©« ¬¨ á¨â ªá¨á |
mcall SF_FILE,tree_file_struct |
cmp ebx,0 |
jle .end_dir_init |
cmp ebx,2 |
jg @f |
notify_window_run file_name ;á®®¡é¥¨¥ ¥á«¨ ¥ 㤠«®áì ®âªàëâì ä ©«ë |
jmp .end_dir_init |
@@: |
;cmp ebx,0 |
;jle .end_dir_init |
mov eax,dir_mem+32+40 |
mov ecx,ebx |
@@: |
353,7 → 358,7 |
;@@: |
ret |
hed db 'TextEditor syntax file converter 29.01.19',0 ;¯®¤¯¨áì ®ª |
hed db 'TextEditor syntax file converter 06.02.20',0 ;¯®¤¯¨áì ®ª |
conv_tabl rb 128 ; â ¡«¨æ ¤«ï ª®¢¥àâ¨à®¢ ¨ï scan-ª®¤ ¢ ascii-ª®¤ |
txt_load_f db ' £à. ä ©«',0 |
/programs/other/t_edit_synt/te_work.inc |
---|
246,9 → 246,7 |
cmp dword[ecx+TexColViv.f1],0 |
je @f |
stdcall str_cat,edi,capt_calc_f1 |
stdcall str_cat_value,edi,[index] |
stdcall str_cat,edi,capt_lbl_f1_use |
@@: |
stdcall str_len,edi |
322,6 → 320,8 |
stdcall str_len,esi |
mov ecx,eax |
mov edi,[out_text] |
or ecx,ecx |
jz .end_copy ;åñëè ñòðîêà ñî ñïðàâêîé ïóñòàß |
.copy: |
mov al,byte[esi] |