473d944dfa
2) 'Text Editor' use new version syntax files git-svn-id: svn://kolibrios.org@2102 a494cfbc-eb01-0410-851d-a64ba20cac60
269 lines
6.2 KiB
NASM
269 lines
6.2 KiB
NASM
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_wnd_bord dd 0x400080
|
||
color_select dd 0x000080
|
||
color_cur_text dd 0x800000
|
||
color_wnd_text:
|
||
dd 0x808080
|
||
dd 0x000000
|
||
dd 0x00a000
|
||
dd 0x0000ff
|
||
dd 0x8000ff
|
||
dd 0x0000ff
|
||
dd 0xd000d0
|
||
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
|
||
w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'>,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 '<27>ĽŞć¨ď ŞŤ áá . <20>ŤĽŹĽâë ¤ŽáâăŻë ⎍쪎 ŞŤ ááă ¨ ĽŁŽ ¤ŕ㌼áâ˘ĽëŹ ŞŤ áá Ź (ŽĄęďîâáď çĽŕĽ§ friend)',0
|
||
.167:db '<27> é¨éĽ ď Ἢć¨ď ŞŤ áá . <20>ŤĽŹĽâë ¤ŽáâăŻë ŞŤ ááă ¨ ĽŁŽ ŻŕŽ¨§˘Ž¤ëŹ ŞŤ áá Ź.',0
|
||
.168:db '<27>ĄéĽ¤Žáâ㯠ď Ἢć¨ď ŞŤ áá . <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
|