1) 'box_lib.obj' update 't_edit' version 3

2) 'Text Editor' use new version syntax files

git-svn-id: svn://kolibrios.org@2102 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
IgorA 2011-08-22 15:58:27 +00:00
parent 1b390fd667
commit 473d944dfa
32 changed files with 16658 additions and 48 deletions

View File

@ -227,7 +227,7 @@ dd sz_ted_but_redo, ted_but_redo
dd sz_ted_but_reverse, ted_but_reverse
dd sz_ted_but_find_next, ted_but_find_next
dd sz_ted_text_colored, ted_text_colored
dd sz_ted_version, 0x00000002
dd sz_ted_version, 0x00000003
dd 0,0

View File

@ -1,6 +1,6 @@
; ¬ ªà®á ¤«ï á¨á⥬­®© ¡¨¡«¨®â¥ª¨ box_lib.obj
; í«¥¬¥­â TextEditor ¤«ï Kolibri OS
; ä ©« ¯®á«¥¤­¨© à § ¨§¬¥­ï«áï 09.06.2010 IgorA
; ä ©« ¯®á«¥¤­¨© à § ¨§¬¥­ï«áï 22.08.2011 IgorA
; ­  ª®¤ ¯à¨¬¥­¥­  GPL2 «¨æ¥­§¨ï
;input:
@ -39,9 +39,10 @@ ends
struct TexColViv
Text rb MAX_COLOR_WORD_LEN ; á«®¢® ¤«ï ¯®¤á¢¥âª¨
f1 dd 0 ; á¯à ¢ª  ¯® á«®¢ã
wwo db ? ; whole words only
endc db ? ; ᨬ¢®« ª®­æ  ¢ë¤¥«¥­¨ï (wwo&4)
color db ? ; ­®¬¥à 梥â 
flags db ? ; f1+4 ä« £¨ ¨á¯®«ì§ã¥¬ë¥ ¯à¨ ¢ë¤¥«¥­¨¨
endc db ? ; f1+5 ᨬ¢®« ª®­æ  ¢ë¤¥«¥­¨ï (¨á¯®«ì§ã¥âáï ¯à¨ flags&4)
escc db ? ; f1+6 íªà ­¨àãî騩 ᨬ¢®« (¨á¯®«ì§ã¥âáï ¯à¨ flags&4)
color db ? ; f1+7 ­®¬¥à 梥â 
ends
struct symbol
@ -807,10 +808,10 @@ proc ted_init_syntax_file, edit:dword, file:dword, f_name:dword
loop @b
;init: ted_help_text_f1
mov ecx,ted_key_words_count
imul ecx,sizeof.TexColViv
add ecx,ted_key_words_data
mov ted_help_text_f1,ecx
mov ecx,ted_key_words_count ;ª®«¨ç¥á⢮ ª«î祢ëå á«®¢
imul ecx,sizeof.TexColViv ;à §¬¥à áâàãªâãàë á 1-¬ ª«. á«.
add ecx,ted_key_words_data ;­ ç «® ä ©«  á ª«. á«.
mov ted_help_text_f1,ecx ;¬¥âª  ¢ ¯ ¬ïâ¨, £¤¥ ­ ç¨­¥âáï ⥪áâ á® á¯à ¢ª®©
stdcall ted_init_scroll_bars,edi,1 ;¬¥­ï¥¬ æ¢¥â  áªà®««¨­£®¢
.no_colors:
@ -972,21 +973,30 @@ ted_iterat_next:
;input:
; bl = symbol end of select
; bh = íªà ­¨àãî騩 ᨬ¢®« (= 0 ¥á«¨ ­¥â ¯à®¢¥àª¨ ­  ­¨å)
; edx = pointer to symbol struct
; edi = pointer to tedit struct
;description:
; ­ ©â¨ á«¥¤ãîéãî ¯®§¨æ¨î 㪠§ ­­®£® ᨬ¢®« 
align 4
ted_iterat_next_pos_char:
push ax
mov al,1 ;¯à¥¤ë¤ã騩 ᨬ¢®«, á«ã¦¨â ¤«ï áà ¢­¥­¨ï á ᨬ¢®«®¬ bh
@@:
cmp bl,byte[edx]
je @f
je .found
.no_found:
cmp edx,ted_tex_1
jle @f
mov al,byte[edx]
call ted_iterat_next
jmp @b
.found:
cmp bh,al
je .no_found
@@:
call ted_iterat_next
pop ax
ret
;input:
@ -2121,7 +2131,7 @@ endl
jne .if_0 ;if(Col[word_n].Text[pos]==0){
mov dword[endPos],edx ;eP=i;
ColToIndexOffset eax,ebx
mov bl,byte[ebx+MAX_COLOR_WORD_LEN+6]
mov bl,byte[ebx+MAX_COLOR_WORD_LEN+7]
mov byte[f_color],bl ;f_color=Col[word_n].color;
mov byte[find],1
@ -2171,7 +2181,7 @@ mov byte[find],1
btr bx,2 ;3-1
jae .if_7e ;if(Col[word_n].wwo&4)
ColToIndexOffset eax,ebx
mov bl,byte[ebx+MAX_COLOR_WORD_LEN+5]
mov bx,word[ebx+MAX_COLOR_WORD_LEN+5]
call ted_iterat_next_pos_char
cmp edx,ted_tex_1
jle .if_7e
@ -3308,7 +3318,7 @@ proc ted_draw_help_f1
;SetTextColor
xor eax,eax
mov al,byte[edx+MAX_COLOR_WORD_LEN+6]
mov al,byte[edx+MAX_COLOR_WORD_LEN+7]
shl ax,2
mov ecx,ted_text_colors
add ecx,eax
@ -3947,7 +3957,7 @@ proc ted_but_save_file, edit:dword, file:dword, f_name:dword
stdcall ted_can_save,edi
cmp al,0
je .no_save
; je .no_save
mov ecx,ted_max_chars
invoke mem.alloc,ecx

View File

@ -4,7 +4,6 @@ if not exist bin\tl_nod_16.bmp @copy ..\..\develop\libraries\box_lib\trunk\tl_no
if not exist bin\msgbox.obj @copy msgbox.obj bin\msgbox.obj
if not exist bin\te_icon.bmp @copy te_icon.bmp bin\te_icon.bmp
if not exist bin\info mkdir bin\info
copy info\*.syn bin\info\*.syn
if not exist bin\box_lib.obj @fasm.exe -m 16384 ..\..\develop\libraries\box_lib\trunk\box_lib.asm bin\box_lib.obj
@kpack bin\box_lib.obj
@ -13,4 +12,6 @@ if not exist bin\box_lib.obj @fasm.exe -m 16384 ..\..\develop\libraries\box_lib\
@echo lang fix en >lang.inc
@fasm.exe -m 16384 t_edit.asm bin\t_edit.kex
@kpack bin\t_edit.kex
info\build.bat info\ bin\info\
pause

View File

@ -4,7 +4,6 @@ if not exist bin\tl_nod_16.bmp @copy ..\..\develop\libraries\box_lib\trunk\tl_no
if not exist bin\msgbox.obj @copy msgbox.obj bin\msgbox.obj
if not exist bin\te_icon.bmp @copy te_icon.bmp bin\te_icon.bmp
if not exist bin\info mkdir bin\info
copy info\*.syn bin\info\*.syn
if not exist bin\box_lib.obj @fasm.exe -m 16384 ..\..\develop\libraries\box_lib\trunk\box_lib.asm bin\box_lib.obj
@kpack bin\box_lib.obj
@ -13,4 +12,6 @@ if not exist bin\box_lib.obj @fasm.exe -m 16384 ..\..\develop\libraries\box_lib\
@echo lang fix ru >lang.inc
@fasm.exe -m 16384 t_edit.asm bin\t_edit.kex
@kpack bin\t_edit.kex
info\build.bat info\ bin\info\
pause

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,10 @@
@fasm.exe -m 16384 %1asm_syn.asm %2asm.syn
@fasm.exe -m 16384 %1cpp_kol_cla_syn.asm %2cpp_kol_cla.syn
@fasm.exe -m 16384 %1cpp_kol_dar_syn.asm %2cpp_kol_dar.syn
@fasm.exe -m 16384 %1cpp_kol_def_syn.asm %2cpp_kol_def.syn
@fasm.exe -m 16384 %1cpp_win_dar_syn.asm %2cpp_win_dar.syn
@fasm.exe -m 16384 %1default_syn.asm %2default.syn
@fasm.exe -m 16384 %1html_syn.asm %2html.syn
@fasm.exe -m 16384 %1ini_files_syn.asm %2ini_files.syn
@fasm.exe -m 16384 %1voc_eng_rus_syn.asm %2voc_eng_rus.syn
@fasm.exe -m 16384 %1win_const_syn.asm %2win_const.syn

View File

@ -0,0 +1,268 @@
macro wo txt,lf1,p1,p2,p3{
@@: db txt
rb @b+40-$
dd lf1
db p1
dw p2+0
db p3
}
count_colors_text dd (text-color_wnd_text)/4
count_key_words dd (f1-text)/48
color_cursor dd 0xffd000
color_wnd_capt dd 0x008080
color_wnd_work dd 0x000080
color_wnd_bord dd 0x00ff00
color_select dd 0xc0c0c0
color_cur_text dd 0xc0c0c0
color_wnd_text:
dd 0xffff00
dd 0xffffff
dd 0x00ff00
dd 0x00ffff
dd 0x808080
dd 0x00ffff
dd 0xffa000
dd 0xff0000
text:
wo<'¨'>,0,0,,7
wo<'²'>,0,0,,7
wo<'³'>,0,0,,7
wo<'¸'>,0,0,,7
wo<'À'>,0,0,,7
wo<'Á'>,0,0,,7
wo<'Â'>,0,0,,7
wo<'Ã'>,0,0,,7
wo<'Ä'>,0,0,,7
wo<'Å'>,0,0,,7
wo<'Æ'>,0,0,,7
wo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7,13,2
wo<'#define'>,0,7,13,2
wo<'#else'>,0,3,,2
wo<'#endif'>,0,3,,2
wo<'#if'>,0,3,,2
wo<'#ifndef'>,0,7,13,2
wo<'#include'>,f1.79-f1,3,,2
wo<'#pragma'>,0,3,,2
wo<'%'>,0,0,,1
wo<'&'>,f1.82-f1,0,,1
wo<'&&'>,f1.83-f1,0,,1
wo<'&='>,0,0,,1
wo<39>,0,4,(92 shl 8)+39,3
wo<'('>,0,0,,1
wo<')'>,0,0,,1
wo<'*'>,0,0,,1
wo<'*='>,0,0,,1
wo<'+'>,0,0,,1
wo<'+='>,0,0,,1
wo<','>,0,0,,1
wo<'-'>,0,0,,1
wo<'-='>,0,0,,1
wo<'->'>,f1.95-f1,0,,1
wo<'.'>,0,0,,1
wo<'/'>,0,0,,1
wo<'/*'>,f1.98-f1,4,47,4
wo<'//'>,f1.99-f1,4,13,4
wo<'/='>,0,0,,1
wo<'0'>,0,24,,5
wo<'1'>,0,24,,5
wo<'2'>,0,24,,5
wo<'3'>,0,24,,5
wo<'4'>,0,24,,5
wo<'5'>,0,24,,5
wo<'6'>,0,24,,5
wo<'7'>,0,24,,5
wo<'8'>,0,24,,5
wo<'9'>,0,24,,5
wo<':'>,0,0,,1
wo<';'>,0,0,,1
wo<'<'>,f1.113-f1,0,,1
wo<'<='>,f1.114-f1,0,,1
wo<'='>,f1.115-f1,0,,1
wo<'=='>,f1.116-f1,0,,1
wo<'>'>,f1.117-f1,0,,1
wo<'>='>,f1.118-f1,0,,1
wo<'DECLARE_RESPONSE_TABLE'>,f1.119-f1,3,,2
wo<'DEFINE_RESPONSE_TABLE'>,f1.120-f1,21,40,2
wo<'END_RESPONSE_TABLE'>,f1.121-f1,3,,2
wo<'EV_CHILD_NOTIFY'>,0,3,,2
wo<'EV_CHILD_NOTIFY_ALL_CODES'>,0,3,,2
wo<'EV_CHILD_NOTIFY_AND_CODE'>,0,3,,2
wo<'EV_COMMAND'>,0,3,,2
wo<'EV_COMMAND_AND_ID'>,0,3,,2
wo<'EV_COMMAND_ENABLE'>,0,3,,2
wo<'EV_MESSAGE'>,0,3,,2
wo<'EV_NOTIFY_AT_CHILD'>,0,3,,2
wo<'EV_OWLDOCUMENT'>,0,3,,2
wo<'EV_OWLNOTIFY'>,0,3,,2
wo<'EV_OWLVIEW'>,0,3,,2
wo<'EV_REGISTERED'>,0,3,,2
wo<'EV_VIEWNOTIFY'>,0,3,,2
wo<'['>,0,0,,1
wo<']'>,0,0,,1
wo<'^'>,f1.137-f1,0,,1
wo<'asm'>,0,3,,1
wo<'bool'>,f1.139-f1,3,,1
wo<'break'>,f1.140-f1,3,,1
wo<'case'>,0,3,,1
wo<'catch'>,0,3,,1
wo<'char'>,f1.143-f1,3,,1
wo<'class'>,f1.144-f1,3,,1
wo<'const'>,f1.145-f1,3,,1
wo<'const_cast'>,0,3,,1
wo<'continue'>,f1.147-f1,3,,1
wo<'default'>,0,3,,1
wo<'delete'>,f1.149-f1,3,,1
wo<'do'>,f1.150-f1,3,,1
wo<'double'>,f1.151-f1,3,,1
wo<'else'>,0,3,,1
wo<'enum'>,0,3,,1
wo<'extern'>,0,3,,1
wo<'false'>,0,3,,1
wo<'far'>,0,3,,1
wo<'float'>,f1.157-f1,3,,1
wo<'for'>,f1.158-f1,3,,1
wo<'friend'>,0,3,,1
wo<'if'>,f1.160-f1,3,,1
wo<'inline'>,0,3,,1
wo<'int'>,f1.162-f1,3,,1
wo<'long'>,f1.163-f1,3,,1
wo<'new'>,f1.164-f1,3,,1
wo<'operator'>,0,3,,1
wo<'private'>,f1.166-f1,3,,1
wo<'protected'>,f1.167-f1,3,,1
wo<'public'>,f1.168-f1,3,,1
wo<'register'>,0,3,,1
wo<'return'>,f1.170-f1,3,,1
wo<'short'>,f1.171-f1,3,,1
wo<'signed'>,f1.172-f1,3,,1
wo<'sizeof'>,0,3,,1
wo<'static'>,0,3,,1
wo<'struct'>,f1.175-f1,3,,1
wo<'switch'>,0,3,,1
wo<'this'>,0,3,,1
wo<'throw'>,0,3,,1
wo<'true'>,0,3,,1
wo<'try'>,0,3,,1
wo<'typedef'>,f1.181-f1,3,,1
wo<'union'>,0,3,,1
wo<'unsigned'>,f1.183-f1,3,,1
wo<'virtual'>,f1.184-f1,3,,1
wo<'void'>,0,3,,1
wo<'wchar_t'>,0,3,,1
wo<'while'>,f1.187-f1,3,,1
wo<'{'>,0,0,,1
wo<'|'>,f1.189-f1,0,,1
wo<'|='>,0,0,,1
wo<'||'>,f1.191-f1,0,,1
wo<'}'>,0,0,,1
wo<'~'>,f1.193-f1,0,,1
f1: db 0
.69:db '«®£¨ç¥áª®¥ ',39,'®âà¨æ ­¨¥',39,'',0
.70:db '­¥ à ¢­®',0
.71:db 'áâப®¢ ï ª®­áâ ­â ',0
.79:db '¤¨à¥ªâ¨¢  ¢ª«î祭¨ï ä ©«®¢',0
.82:db '¯®¡¨â®¢®¥ ',39,'¨',39,'',0
.83:db '«®£¨ç¥áª®¥ ',39,'¨',39,'',0
.95:db '¯¥à¥å®¤ ¯® 㪠§ â¥«î',0
.98:db '¬­®£® áâà®ç­ë© ª®¬¥­â à¨©',0
.99:db '®¤­® áâà®ç­ë© ª®¬¥­â à¨©',0
.113:db '¬¥­ìè¥',0
.114:db '¬¥­ìè¥ ¨«¨ à ¢­®',0
.115:db '¯à¨á¢ ¨¢ ­¨¥',0
.116:db 'à ¢­®',0
.117:db '¡®«ìè¥',0
.118:db '¡®«ìè¥ ¨«¨ à ¢­®',0
.119:db '®¡ê¥­¨¥ â ¡«¨æë ®âª«¨ª®¢',0
.120:db '­ ç «® â ¡«¨æë ®âª«¨ª®¢',0
.121:db 'ª®­¥æ â ¡«¨æë ®âª«¨ª®¢',0
.137:db '¯®¡¨â®¢®¥ ',39,'¨áª«îç î饥 ¨«¨',39,'',0
.139:db '«®£¨ç¥áª¨© ⨯ ¤ ­­ëå',0
.140:db '¢ë室 ¨§ 横« ',0
.143:db 'ᨬ¢®«ì­ë© ⨯ ¤ ­­ëå 1 ¡ ©â',0
.144:db 'ª« áá',0
.145:db 'ª®­áâ ­â ',0
.147:db '¯à®¯ã᪠⥫  横«  ¨ ¯¥à¥å®¤ ­  ¥£® ­ ç «®',0
.149:db '㤠«¨âì ®¡ê¥ªâ ¨§ ¯ ¬ïâ¨',0
.150:db '横« á ãá«®¢¨¥¬, ¢ë¯®«­ï¥âáï ¬¨­¨¬ã¬ 1 à §',0
.151:db 'ç¨á«® á ¯« ¢ î饩 § ¯ï⮩ ¤¢®©­®© â®ç­®á⨠8 ¡ ©â',0
.157:db 'ç¨á«® á ¯« ¢ î饩 § ¯ï⮩ 4 ¡ ©â ',0
.158:db '®¯¥à â®à 横« ',0
.160:db 'ãá«®¢­ë© ®¯¥à â®à',0
.162:db 'æ¥«ë© â¨¯ ¤ ­­ëå 2 ¡ ©â ',0
.163:db '¤«¨­­ë© ⨯ ¤ ­­ëå',0
.164:db 'ᮧ¤ âì ®¡ê¥ªâ ¢ ¯ ¬ïâ¨',0
.166:db '‘¥ªæ¨ï ª« áá . <20>«¥¬¥­âë ¤®áâ㯭ë ⮫쪮 ª« ááã ¨ ¥£® ¤à㦥á⢥­­ë¬ ª« áá ¬ (®¡êïîâáï ç¥à¥§ friend)',0
.167:db '‡ é¨é¥­­ ï ᥪæ¨ï ª« áá . <20>«¥¬¥­âë ¤®áâã¯­ë ª« ááã ¨ ¥£® ¯à®¨§¢®¤­ë¬ ª« áá ¬.',0
.168:db 'Ž¡é¥¤®áâ㯭 ï ᥪæ¨ï ª« áá . <20>«¥¬¥­âë ¤®áâã¯­ë ¢¥§¤¥.',0
.170:db '¢ë室 ¨§ ä㭪樨',0
.171:db 'ª®à®âª¨© ⨯ ¤ ­­ëå',0
.172:db '§­ ª®¢ë© ⨯ ¤ ­­ëå',0
.175:db 'áâàãªâãà ',0
.181:db '¯¥à¥®¯à¥¤¥«¥­¨¥ ⨯®¢ ¤ ­­ëå',0
.183:db '¡¥§§­ ª®¢ë© ⨯ ¤ ­­ëå',0
.184:db '¨á¯®«ì§ã¥âáï ¤«ï ᮧ¤ ­¨ï ¢¨àâã «ì­ëå ä㭪権',0
.187:db '横« á ãá«®¢¨¥¬',0
.189:db '¯®¡¨â®¢®¥ ',39,'¨«¨',39,'',0
.191:db '«®£¨ç¥áª®¥ ',39,'¨«¨',39,'',0
.193:db '¯®¡¨â®¢®¥ ',39,'®âà¨æ ­¨¥',39,'',0

View File

@ -0,0 +1,268 @@
macro wo txt,lf1,p1,p2,p3{
@@: db txt
rb @b+40-$
dd lf1
db p1
dw p2+0
db p3
}
count_colors_text dd (text-color_wnd_text)/4
count_key_words dd (f1-text)/48
color_cursor dd 0x0080ff
color_wnd_capt dd 0x004000
color_wnd_work dd 0x000000
color_wnd_bord dd 0x00ff00
color_select dd 0xc0c0c0
color_cur_text dd 0xc0c0c0
color_wnd_text:
dd 0xffffff
dd 0x00ffff
dd 0x00a000
dd 0x00ff00
dd 0x808080
dd 0x808000
dd 0xa0a0ff
dd 0xff0000
text:
wo<'¨'>,0,0,,7
wo<'²'>,0,0,,7
wo<'³'>,0,0,,7
wo<'¸'>,0,0,,7
wo<'À'>,0,0,,7
wo<'Á'>,0,0,,7
wo<'Â'>,0,0,,7
wo<'Ã'>,0,0,,7
wo<'Ä'>,0,0,,7
wo<'Å'>,0,0,,7
wo<'Æ'>,0,0,,7
wo<'Ç'>,0,0,,7
wo<'È'>,0,0,,7
wo<'É'>,0,0,,7
wo<'Ê'>,0,0,,7
wo<'Ë'>,0,0,,7
wo<'Ì'>,0,0,,7
wo<'Í'>,0,0,,7
wo<'Î'>,0,0,,7
wo<'Ï'>,0,0,,7
wo<'Ð'>,0,0,,7
wo<'Ñ'>,0,0,,7
wo<'Ò'>,0,0,,7
wo<'Ó'>,0,0,,7
wo<'Ô'>,0,0,,7
wo<'Õ'>,0,0,,7
wo<'Ö'>,0,0,,7
wo<'×'>,0,0,,7
wo<'Ø'>,0,0,,7
wo<'Ù'>,0,0,,7
wo<'Ú'>,0,0,,7
wo<'Û'>,0,0,,7
wo<'Ü'>,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'char'>,f1.143-f1,3,,1
wo<'class'>,f1.144-f1,3,,1
wo<'const'>,f1.145-f1,3,,1
wo<'const_cast'>,0,3,,1
wo<'continue'>,f1.147-f1,3,,1
wo<'default'>,0,3,,1
wo<'delete'>,f1.149-f1,3,,1
wo<'do'>,f1.150-f1,3,,1
wo<'double'>,f1.151-f1,3,,1
wo<'else'>,0,3,,1
wo<'enum'>,0,3,,1
wo<'extern'>,0,3,,1
wo<'false'>,0,3,,1
wo<'far'>,0,3,,1
wo<'float'>,f1.157-f1,3,,1
wo<'for'>,f1.158-f1,3,,1
wo<'friend'>,0,3,,1
wo<'if'>,f1.160-f1,3,,1
wo<'inline'>,0,3,,1
wo<'int'>,f1.162-f1,3,,1
wo<'long'>,f1.163-f1,3,,1
wo<'new'>,f1.164-f1,3,,1
wo<'operator'>,0,3,,1
wo<'private'>,f1.166-f1,3,,1
wo<'protected'>,f1.167-f1,3,,1
wo<'public'>,f1.168-f1,3,,1
wo<'register'>,0,3,,1
wo<'return'>,f1.170-f1,3,,1
wo<'short'>,f1.171-f1,3,,1
wo<'signed'>,f1.172-f1,3,,1
wo<'sizeof'>,0,3,,1
wo<'static'>,0,3,,1
wo<'struct'>,f1.175-f1,3,,1
wo<'switch'>,0,3,,1
wo<'this'>,0,3,,1
wo<'throw'>,0,3,,1
wo<'true'>,0,3,,1
wo<'try'>,0,3,,1
wo<'typedef'>,f1.181-f1,3,,1
wo<'union'>,0,3,,1
wo<'unsigned'>,f1.183-f1,3,,1
wo<'virtual'>,f1.184-f1,3,,1
wo<'void'>,0,3,,1
wo<'wchar_t'>,0,3,,1
wo<'while'>,f1.187-f1,3,,1
wo<'{'>,0,0,,1
wo<'|'>,f1.189-f1,0,,1
wo<'|='>,0,0,,1
wo<'||'>,f1.191-f1,0,,1
wo<'}'>,0,0,,1
wo<'~'>,f1.193-f1,0,,1
f1: db 0
.69:db '«®£¨ç¥áª®¥ ',39,'®âà¨æ ­¨¥',39,'',0
.70:db '­¥ à ¢­®',0
.71:db 'áâப®¢ ï ª®­áâ ­â ',0
.79:db '¤¨à¥ªâ¨¢  ¢ª«î祭¨ï ä ©«®¢',0
.82:db '¯®¡¨â®¢®¥ ',39,'¨',39,'',0
.83:db '«®£¨ç¥áª®¥ ',39,'¨',39,'',0
.95:db '¯¥à¥å®¤ ¯® 㪠§ â¥«î',0
.98:db '¬­®£® áâà®ç­ë© ª®¬¥­â à¨©',0
.99:db '®¤­® áâà®ç­ë© ª®¬¥­â à¨©',0
.113:db '¬¥­ìè¥',0
.114:db '¬¥­ìè¥ ¨«¨ à ¢­®',0
.115:db '¯à¨á¢ ¨¢ ­¨¥',0
.116:db 'à ¢­®',0
.117:db '¡®«ìè¥',0
.118:db '¡®«ìè¥ ¨«¨ à ¢­®',0
.119:db '®¡ê¥­¨¥ â ¡«¨æë ®âª«¨ª®¢',0
.120:db '­ ç «® â ¡«¨æë ®âª«¨ª®¢',0
.121:db 'ª®­¥æ â ¡«¨æë ®âª«¨ª®¢',0
.137:db '¯®¡¨â®¢®¥ ',39,'¨áª«îç î饥 ¨«¨',39,'',0
.139:db '«®£¨ç¥áª¨© ⨯ ¤ ­­ëå',0
.140:db '¢ë室 ¨§ 横« ',0
.143:db 'ᨬ¢®«ì­ë© ⨯ ¤ ­­ëå 1 ¡ ©â',0
.144:db 'ª« áá',0
.145:db 'ª®­áâ ­â ',0
.147:db '¯à®¯ã᪠⥫  横«  ¨ ¯¥à¥å®¤ ­  ¥£® ­ ç «®',0
.149:db '㤠«¨âì ®¡ê¥ªâ ¨§ ¯ ¬ïâ¨',0
.150:db '横« á ãá«®¢¨¥¬, ¢ë¯®«­ï¥âáï ¬¨­¨¬ã¬ 1 à §',0
.151:db 'ç¨á«® á ¯« ¢ î饩 § ¯ï⮩ ¤¢®©­®© â®ç­®á⨠8 ¡ ©â',0
.157:db 'ç¨á«® á ¯« ¢ î饩 § ¯ï⮩ 4 ¡ ©â ',0
.158:db '®¯¥à â®à 横« ',0
.160:db 'ãá«®¢­ë© ®¯¥à â®à',0
.162:db 'æ¥«ë© â¨¯ ¤ ­­ëå 2 ¡ ©â ',0
.163:db '¤«¨­­ë© ⨯ ¤ ­­ëå',0
.164:db 'ᮧ¤ âì ®¡ê¥ªâ ¢ ¯ ¬ïâ¨',0
.166:db '‘¥ªæ¨ï ª« áá . <20>«¥¬¥­âë ¤®áâ㯭ë ⮫쪮 ª« ááã ¨ ¥£® ¤à㦥á⢥­­ë¬ ª« áá ¬ (®¡êïîâáï ç¥à¥§ friend)',0
.167:db '‡ é¨é¥­­ ï ᥪæ¨ï ª« áá . <20>«¥¬¥­âë ¤®áâã¯­ë ª« ááã ¨ ¥£® ¯à®¨§¢®¤­ë¬ ª« áá ¬.',0
.168:db 'Ž¡é¥¤®áâ㯭 ï ᥪæ¨ï ª« áá . <20>«¥¬¥­âë ¤®áâã¯­ë ¢¥§¤¥.',0
.170:db '¢ë室 ¨§ ä㭪樨',0
.171:db 'ª®à®âª¨© ⨯ ¤ ­­ëå',0
.172:db '§­ ª®¢ë© ⨯ ¤ ­­ëå',0
.175:db 'áâàãªâãà ',0
.181:db '¯¥à¥®¯à¥¤¥«¥­¨¥ ⨯®¢ ¤ ­­ëå',0
.183:db '¡¥§§­ ª®¢ë© ⨯ ¤ ­­ëå',0
.184:db '¨á¯®«ì§ã¥âáï ¤«ï ᮧ¤ ­¨ï ¢¨àâã «ì­ëå ä㭪権',0
.187:db '横« á ãá«®¢¨¥¬',0
.189:db '¯®¡¨â®¢®¥ ',39,'¨«¨',39,'',0
.191:db '«®£¨ç¥áª®¥ ',39,'¨«¨',39,'',0
.193:db '¯®¡¨â®¢®¥ ',39,'®âà¨æ ­¨¥',39,'',0

View File

@ -0,0 +1,268 @@
macro wo txt,lf1,p1,p2,p3{
@@: db txt
rb @b+40-$
dd lf1
db p1
dw p2+0
db p3
}
count_colors_text dd (text-color_wnd_text)/4
count_key_words dd (f1-text)/48
color_cursor dd 0xffd000
color_wnd_capt dd 0xc0c0c0
color_wnd_work dd 0xffffff
color_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116-f1,0,,1
wo<'>'>,f1.117-f1,0,,1
wo<'>='>,f1.118-f1,0,,1
wo<'DECLARE_RESPONSE_TABLE'>,f1.119-f1,3,,2
wo<'DEFINE_RESPONSE_TABLE'>,f1.120-f1,21,40,2
wo<'END_RESPONSE_TABLE'>,f1.121-f1,3,,2
wo<'EV_CHILD_NOTIFY'>,0,3,,2
wo<'EV_CHILD_NOTIFY_ALL_CODES'>,0,3,,2
wo<'EV_CHILD_NOTIFY_AND_CODE'>,0,3,,2
wo<'EV_COMMAND'>,0,3,,2
wo<'EV_COMMAND_AND_ID'>,0,3,,2
wo<'EV_COMMAND_ENABLE'>,0,3,,2
wo<'EV_MESSAGE'>,0,3,,2
wo<'EV_NOTIFY_AT_CHILD'>,0,3,,2
wo<'EV_OWLDOCUMENT'>,0,3,,2
wo<'EV_OWLNOTIFY'>,0,3,,2
wo<'EV_OWLVIEW'>,0,3,,2
wo<'EV_REGISTERED'>,0,3,,2
wo<'EV_VIEWNOTIFY'>,0,3,,2
wo<'['>,0,0,,1
wo<']'>,0,0,,1
wo<'^'>,f1.137-f1,0,,1
wo<'asm'>,0,3,,1
wo<'bool'>,f1.139-f1,3,,1
wo<'break'>,f1.140-f1,3,,1
wo<'case'>,0,3,,1
wo<'catch'>,0,3,,1
wo<'char'>,f1.143-f1,3,,1
wo<'class'>,f1.144-f1,3,,1
wo<'const'>,f1.145-f1,3,,1
wo<'const_cast'>,0,3,,1
wo<'continue'>,f1.147-f1,3,,1
wo<'default'>,0,3,,1
wo<'delete'>,f1.149-f1,3,,1
wo<'do'>,f1.150-f1,3,,1
wo<'double'>,f1.151-f1,3,,1
wo<'else'>,0,3,,1
wo<'enum'>,0,3,,1
wo<'extern'>,0,3,,1
wo<'false'>,0,3,,1
wo<'far'>,0,3,,1
wo<'float'>,f1.157-f1,3,,1
wo<'for'>,f1.158-f1,3,,1
wo<'friend'>,0,3,,1
wo<'if'>,f1.160-f1,3,,1
wo<'inline'>,0,3,,1
wo<'int'>,f1.162-f1,3,,1
wo<'long'>,f1.163-f1,3,,1
wo<'new'>,f1.164-f1,3,,1
wo<'operator'>,0,3,,1
wo<'private'>,f1.166-f1,3,,1
wo<'protected'>,f1.167-f1,3,,1
wo<'public'>,f1.168-f1,3,,1
wo<'register'>,0,3,,1
wo<'return'>,f1.170-f1,3,,1
wo<'short'>,f1.171-f1,3,,1
wo<'signed'>,f1.172-f1,3,,1
wo<'sizeof'>,0,3,,1
wo<'static'>,0,3,,1
wo<'struct'>,f1.175-f1,3,,1
wo<'switch'>,0,3,,1
wo<'this'>,0,3,,1
wo<'throw'>,0,3,,1
wo<'true'>,0,3,,1
wo<'try'>,0,3,,1
wo<'typedef'>,f1.181-f1,3,,1
wo<'union'>,0,3,,1
wo<'unsigned'>,f1.183-f1,3,,1
wo<'virtual'>,f1.184-f1,3,,1
wo<'void'>,0,3,,1
wo<'wchar_t'>,0,3,,1
wo<'while'>,f1.187-f1,3,,1
wo<'{'>,0,0,,1
wo<'|'>,f1.189-f1,0,,1
wo<'|='>,0,0,,1
wo<'||'>,f1.191-f1,0,,1
wo<'}'>,0,0,,1
wo<'~'>,f1.193-f1,0,,1
f1: db 0
.69:db '«®£¨ç¥áª®¥ ',39,'®âà¨æ ­¨¥',39,'',0
.70:db '­¥ à ¢­®',0
.71:db 'áâப®¢ ï ª®­áâ ­â ',0
.79:db '¤¨à¥ªâ¨¢  ¢ª«î祭¨ï ä ©«®¢',0
.82:db '¯®¡¨â®¢®¥ ',39,'¨',39,'',0
.83:db '«®£¨ç¥áª®¥ ',39,'¨',39,'',0
.95:db '¯¥à¥å®¤ ¯® 㪠§ â¥«î',0
.98:db '¬­®£® áâà®ç­ë© ª®¬¥­â à¨©',0
.99:db '®¤­® áâà®ç­ë© ª®¬¥­â à¨©',0
.113:db '¬¥­ìè¥',0
.114:db '¬¥­ìè¥ ¨«¨ à ¢­®',0
.115:db '¯à¨á¢ ¨¢ ­¨¥',0
.116:db 'à ¢­®',0
.117:db '¡®«ìè¥',0
.118:db '¡®«ìè¥ ¨«¨ à ¢­®',0
.119:db '®¡ê¥­¨¥ â ¡«¨æë ®âª«¨ª®¢',0
.120:db '­ ç «® â ¡«¨æë ®âª«¨ª®¢',0
.121:db 'ª®­¥æ â ¡«¨æë ®âª«¨ª®¢',0
.137:db '¯®¡¨â®¢®¥ ',39,'¨áª«îç î饥 ¨«¨',39,'',0
.139:db '«®£¨ç¥áª¨© ⨯ ¤ ­­ëå',0
.140:db '¢ë室 ¨§ 横« ',0
.143:db 'ᨬ¢®«ì­ë© ⨯ ¤ ­­ëå 1 ¡ ©â',0
.144:db 'ª« áá',0
.145:db 'ª®­áâ ­â ',0
.147:db '¯à®¯ã᪠⥫  横«  ¨ ¯¥à¥å®¤ ­  ¥£® ­ ç «®',0
.149:db '㤠«¨âì ®¡ê¥ªâ ¨§ ¯ ¬ïâ¨',0
.150:db '横« á ãá«®¢¨¥¬, ¢ë¯®«­ï¥âáï ¬¨­¨¬ã¬ 1 à §',0
.151:db 'ç¨á«® á ¯« ¢ î饩 § ¯ï⮩ ¤¢®©­®© â®ç­®á⨠8 ¡ ©â',0
.157:db 'ç¨á«® á ¯« ¢ î饩 § ¯ï⮩ 4 ¡ ©â ',0
.158:db '®¯¥à â®à 横« ',0
.160:db 'ãá«®¢­ë© ®¯¥à â®à',0
.162:db 'æ¥«ë© â¨¯ ¤ ­­ëå 2 ¡ ©â ',0
.163:db '¤«¨­­ë© ⨯ ¤ ­­ëå',0
.164:db 'ᮧ¤ âì ®¡ê¥ªâ ¢ ¯ ¬ïâ¨',0
.166:db '‘¥ªæ¨ï ª« áá . <20>«¥¬¥­âë ¤®áâ㯭ë ⮫쪮 ª« ááã ¨ ¥£® ¤à㦥á⢥­­ë¬ ª« áá ¬ (®¡êïîâáï ç¥à¥§ friend)',0
.167:db '‡ é¨é¥­­ ï ᥪæ¨ï ª« áá . <20>«¥¬¥­âë ¤®áâã¯­ë ª« ááã ¨ ¥£® ¯à®¨§¢®¤­ë¬ ª« áá ¬.',0
.168:db 'Ž¡é¥¤®áâ㯭 ï ᥪæ¨ï ª« áá . <20>«¥¬¥­âë ¤®áâã¯­ë ¢¥§¤¥.',0
.170:db '¢ë室 ¨§ ä㭪樨',0
.171:db 'ª®à®âª¨© ⨯ ¤ ­­ëå',0
.172:db '§­ ª®¢ë© ⨯ ¤ ­­ëå',0
.175:db 'áâàãªâãà ',0
.181:db '¯¥à¥®¯à¥¤¥«¥­¨¥ ⨯®¢ ¤ ­­ëå',0
.183:db '¡¥§§­ ª®¢ë© ⨯ ¤ ­­ëå',0
.184:db '¨á¯®«ì§ã¥âáï ¤«ï ᮧ¤ ­¨ï ¢¨àâã «ì­ëå ä㭪権',0
.187:db '横« á ãá«®¢¨¥¬',0
.189:db '¯®¡¨â®¢®¥ ',39,'¨«¨',39,'',0
.191:db '«®£¨ç¥áª®¥ ',39,'¨«¨',39,'',0
.193:db '¯®¡¨â®¢®¥ ',39,'®âà¨æ ­¨¥',39,'',0

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -2,10 +2,12 @@ macro wo txt,lf1,p1,p2,p3{
@@: db txt
rb @b+40-$
dd lf1
db p1,p2+0,p3
db p1
dw p2+0
db p3
}
count_colors_text dd (text-color_wnd_text)/4
count_key_words dd (f1-text)/47
count_key_words dd (f1-text)/48
color_cursor dd 0xffd000
color_wnd_capt dd 0x008080
color_wnd_work dd 0xffffff

View File

@ -0,0 +1,45 @@
macro wo txt,lf1,p1,p2,p3{
@@: db txt
rb @b+40-$
dd lf1
db p1
dw p2+0
db p3
}
count_colors_text dd (text-color_wnd_text)/4
count_key_words dd (f1-text)/48
color_cursor dd 0xffd000
color_wnd_capt dd 0x0000a0
color_wnd_work dd 0x000000
color_wnd_bord dd 0xc0c0c0
color_select dd 0x000080
color_cur_text dd 0x8080ff
color_wnd_text:
dd 0x808080
dd 0xffffff
dd 0xffff00
dd 0x008080
dd 0x0000ff
dd 0x0080ff
text:
wo<'"'>,0,4,34,3
wo<'#'>,0,4,13,4
wo<'0'>,0,24,,3
wo<'1'>,0,24,,3
wo<'2'>,0,24,,3
wo<'3'>,0,24,,3
wo<'4'>,0,24,,3
wo<'5'>,0,24,,3
wo<'6'>,0,24,,3
wo<'7'>,0,24,,3
wo<'8'>,0,24,,3
wo<'9'>,0,24,,3
wo<'='>,0,0,,1
wo<'['>,0,4,93,2
wo<'auto'>,0,3,,5
wo<'default'>,0,3,,5
wo<'disabled'>,0,3,,5
wo<'false'>,0,3,,5
wo<'none'>,0,3,,5
wo<'true'>,0,3,,5
f1: db 0

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -8,14 +8,6 @@ struct FileInfoBlock
FileName dd ?
ends
struct TexColViv
Text rb MAX_COLOR_WORD_LEN ; á«®¢® ¤«ï ¯®¤á¢¥âª¨
f1 dd 0 ; á¯à ¢ª  ¯® á«®¢ã
wwo db ? ; whole words only
endc db ? ; ᨬ¢®« ª®­æ  ¢ë¤¥«¥­¨ï (wwo&4)
color db ? ; ­®¬¥à 梥â 
ends
struct symbol
c db ? ; +0 ᨬ¢®«
col db ? ; +1 梥â
@ -26,7 +18,7 @@ struct symbol
ends
hed db 'TextEditor 25.08.10',0 ;¯®¤¯¨áì ®ª­ 
hed db 'TextEditor 22.08.11',0 ;¯®¤¯¨áì ®ª­ 
sc system_colors
fn_icon db 'te_icon.bmp',0
@ -82,7 +74,7 @@ On_SaveAndNewFile:
ret
;description:
; äã­ªæ¨ï ®âªàëâ¨ï ä ©«  ¡¥§ ®ª®­  á®®¡é¥­¨ï
; äã­ªæ¨ï ®âªàëâ¨ï ä ©«  ¡¥§ ®ª­  á®®¡é¥­¨ï
align 4
but_no_msg_OpenFile:
push eax ebx
@ -132,6 +124,8 @@ ted_but_open_file:
popad
ret
;description:
; ª®¯¨à®¢ ­¨¥ ¯ ¬ïâ¨
align 4
proc mem_copy, source:dword, destination:dword, len:dword
push ecx esi edi
@ -144,6 +138,8 @@ proc mem_copy, source:dword, destination:dword, len:dword
ret
endp
;description:
; § ¯®«­¥­¨¥ ¯ ¬ï⨠¯à®¡¥« ¬¨
align 4
proc mem_spac, mem:dword, len:dword
push eax ecx edi
@ -196,6 +192,8 @@ ted_save_err_msg:
stdcall [mb_create],msgbox_6,thread ;message: Can-t save text file!
ret
;description:
; äã­ªæ¨ï ­ ¦ â¨ï ­  ª­®¯ªã [<EFBFBD>ਬ¥­¨âì] ¢ ¯ ­¥«¨ ᨭ⠪á¨á 
align 4
proc ted_but_open_syntax, edit:dword
push ebx edi
@ -216,8 +214,10 @@ proc ted_but_open_syntax, edit:dword
ret
endp
;description:
; ¢ë§®¢/áªàë⨥ ¯ ­¥«¨ ¯®¨áª 
align 4
proc ted_but_find ;¢ë§®¢/áªàë⨥ ¯ ­¥«¨ ¯®¨áª 
proc ted_but_find
push edi
mov edi,tedit0
@ -241,14 +241,22 @@ ted_on_find_err:
stdcall [mb_create],msgbox_7,thread ;message: Can not find text
ret
;description:
; ª­®¯ª  [‡ ¬¥­¨âì] ­  ¯ ­¥«¨
align 4
but_replace:
; ¯®ª  ­¥ ᤥ« ­®
ret
;description:
; äã­ªæ¨ï ¯®¨áª  ¨­ä®à¬ æ¨¨ ¢ ᯨ᪥ ª«î祢ëå á«®¢
align 4
but_find_key_w:
; ¯®ª  ­¥ ᤥ« ­®
ret
;description:
; ¢ë¤¥«¥­¨¥/áªàë⨥ ­¥¯¥ç â ¥¬ëå ᨬ¢®«®¢
align 4
proc but_sumb_invis, edit:dword
push edi
@ -261,6 +269,8 @@ proc but_sumb_invis, edit:dword
ret
endp
;description:
; ¢ë¤¥«¥­¨¥/áªàë⨥ ª«î祢ëå á«®¢
align 4
proc but_k_words_show, edit:dword
push edi
@ -277,6 +287,8 @@ proc but_k_words_show, edit:dword
ret
endp
;description:
; ¢ë§®¢/áªàë⨥ ¯ ­¥«¨ á ä ©« ¬¨ ᨭ⠪á¨á 
align 4
proc but_synt_show, edit:dword
push edi

View File

@ -89,7 +89,7 @@ boxlib_import:
ted_but_reverse dd sz_ted_but_reverse
ted_but_find_next dd sz_ted_but_find_next
ted_text_colored dd sz_ted_text_colored
;version_text_edit dd sz_ted_version
version_text_edit dd sz_ted_version
dd 0,0
alib_init2 db 'lib_init',0
@ -164,7 +164,7 @@ dd 0,0
sz_ted_but_reverse db 'ted_but_reverse',0
sz_ted_but_find_next db 'ted_but_find_next',0
sz_ted_text_colored db 'ted_text_colored',0
;sz_ted_version db 'version_text_edit',0
sz_ted_version db 'version_text_edit',0
align 4
proclib_import:
@ -570,6 +570,14 @@ msgbox_9:
db 0
db '‡ ªàëâì',0
db 0
msgbox_10:
db 1,0
db '‚­¨¬ ­¨¥',0
db '‚ë ¨á¯®«ì§ã¥â¥ áâ àãî ¢¥àá¨î ¡¨¡«¨®â¥ª¨ ',39,'box_lib.obj',39,'.',13,\
'<27>®¯à®¡ã©â¥ ­ ©â¨ ¡¨¡«¨®â¥ªã ¢ ª®â®à®©',13,\
'í«¥¬¥­â ',39,'t_edit',39,' ¨¬¥¥â ¢¥àá¨î 3.',0
db '‡ ªàëâì',0
db 0
txtFile db '” ©«:',0
txtFindCapt db '<27>®¨áª',0
@ -678,6 +686,14 @@ msgbox_9:
db 0
db 'Close',0
db 0
msgbox_10:
db 1,0
db 'Warning',0
db 'You are using an older version of the library ',39,'box_lib.obj',39,'.',13,\
'Try to find a library in which the element',13,\
39,'t_edit',39,' has a version 3.',13,0
db 'Close',0
db 0
txtFile db 'File:',0
txtFindCapt db 'Search',0

View File

@ -53,7 +53,7 @@ start:
load_libraries l_libs_start,load_lib_end
;能恥丞<E681A5> <20> 嶊悍鴘<E6828D> 膉删陋 <20><><EFBFBD><20><><>
;能恥丞<E681A5> <20> 嶊悍鴘<E6828D> 膉删陋 <20><>咧摐 ”‵車漭爸
mov ebp,lib0
cmp dword [ebp+ll_struc_size-4],0
jz @f
@ -65,6 +65,12 @@ load_libraries l_libs_start,load_lib_end
mcall -1 ;exit not correct
@@:
cmp dword[version_text_edit],3
jge @f
stdcall [mb_create],msgbox_10,thread
mcall -1
@@:
;---------------------------------------------------------------------
stdcall [ted_init], tedit0
stdcall dword[tl_data_init], tree1
@ -164,6 +170,7 @@ mov ecx,ebx
.filter:
add eax,304
loop @b
stdcall dword[tl_cur_beg],tree1 ;摵𨯂足 芥颬桌 <20> <20><>垣 嶍兕<E5B68D>
.end_dir_init:
;--- load color option file ---

View File

@ -2,11 +2,12 @@ if not exist bin mkdir bin
if not exist bin\tl_sys_16.bmp @copy ..\..\develop\libraries\box_lib\trunk\tl_sys_16.bmp bin\tl_sys_16.bmp
if not exist bin\tl_nod_16.bmp @copy ..\..\develop\libraries\box_lib\trunk\tl_nod_16.bmp bin\tl_nod_16.bmp
if not exist bin\info mkdir bin\info
copy ..\t_edit\info\* bin\info\*
if not exist bin\box_lib.obj @fasm.exe -m 16384 ..\..\develop\libraries\box_lib\trunk\box_lib.asm bin\box_lib.obj
@kpack bin\box_lib.obj
@fasm.exe -m 16384 te_syntax.asm bin\te_syntax.kex
@kpack bin\te_syntax.kex
..\t_edit\info\build.bat ..\t_edit\info\ bin\info\
pause

View File

@ -361,9 +361,9 @@ align 4
buf db BUF_SIZE dup(0) ;¡ãä¥à ¤«ï ª®¯¨à®¢ ­¨ï | ¢áâ ¢ª¨
capt_header db 'macro wo txt,lf1,p1,p2,p3{',13
db '@@: db txt',13,'rb @b+40-$',13,'dd lf1',13,'db p1,p2+0,p3',13,'}',13
db '@@: db txt',13,'rb @b+40-$',13,'dd lf1',13,'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)/47',13,0
db 'count_key_words dd (f1-text)/48',13,0
col_1 db 'color_cursor dd ',0 ;+ 98 梥⠪ãàá®à 
col_2 db 'color_wnd_capt dd ',0 ;+102 梥⠯®«¥© ¢®ªà㣠®ª­ 
col_3 db 'color_wnd_work dd ',0 ;+106 梥â ä®­  ®ª­ 

View File

@ -125,6 +125,7 @@ mov ecx,ebx
.filter:
add eax,304
loop @b
stdcall dword[tl_cur_beg],tree1 ;áâ ¢¨¬ ªãàá®à ­  ­ ç «® ᯨ᪠
.end_dir_init:
;--- load color option file ---
@ -312,7 +313,7 @@ get_wnd_in_focus:
;@@:
ret
hed db 'TextEditor syntax file converter 20.08.11',0 ;¯®¤¯¨áì ®ª­ 
hed db 'TextEditor syntax file converter 22.08.11',0 ;¯®¤¯¨áì ®ª­ 
txt122 db '‡ £à. ä ©«',0
txt148 db '‘®åà. ä ©«',0

View File

@ -9,11 +9,12 @@ struct FileInfoBlock
ends
struct TexColViv
Text rb MAX_COLOR_WORD_LEN ; ñëîâî
f1 dd 0
wwo db ? ; whole words only
endc db ? ; ñèìâîë êîíöà âûäåëåíèÿ (wwo&4)
color db ? ; íîìåð öâåòà
Text rb MAX_COLOR_WORD_LEN ; слово для подсветки
f1 dd 0 ; справка по слову
flags db ? ; f1+4 флаги используемые при выделении
endc db ? ; f1+5 символ конца выделения (используется при flags&4)
escc db ? ; f1+6 экранирующий символ (используется при flags&4)
color db ? ; f1+7 номер цвета
ends
count_colors_text dd 1
@ -251,8 +252,8 @@ mov byte[edi],0
inc edi
xor eax,eax
mov al,byte[ecx+MAX_COLOR_WORD_LEN+4+1] ;endc
cmp al,0
mov ax,word[ecx+MAX_COLOR_WORD_LEN+4+1] ;(escc shl 8)+endc
cmp ax,0 ;проверяем есть ли завершающий и экранинующий символ
je @f
stdcall str_cat_value,edi,eax
stdcall str_len,edi