2016-01-30 16:45:11 +01:00
|
|
|
|
|
2024-06-03 01:34:02 +02:00
|
|
|
|
if lang eq ru_RU
|
2016-01-30 16:45:11 +01:00
|
|
|
|
|
|
|
|
|
sz_main_menu_File db '<27><><EFBFBD><EFBFBD>', 0
|
|
|
|
|
sz_main_menu_File_New db '<27><><EFBFBD><EFBFBD><EFBFBD>', 0
|
|
|
|
|
sz_main_menu_File_Open db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 0
|
|
|
|
|
sz_main_menu_File_Save db '<27><><EFBFBD>࠭<EFBFBD><E0A0AD><EFBFBD>', 0
|
2019-01-08 17:22:08 +01:00
|
|
|
|
sz_main_menu_File_Save_As db '<27><><EFBFBD>࠭<EFBFBD><E0A0AD><EFBFBD> <20><><EFBFBD>', 0
|
2016-01-30 16:45:11 +01:00
|
|
|
|
sz_main_menu_File_Exit db '<27><>室', 0
|
|
|
|
|
|
|
|
|
|
sz_main_menu_Changes db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 0
|
|
|
|
|
sz_main_menu_Changes_Undo db '<27>⬥<EFBFBD><E2ACA5>', 0
|
|
|
|
|
sz_main_menu_Changes_Redo db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 0
|
|
|
|
|
|
|
|
|
|
sz_main_menu_Buf db '<27><><EFBFBD><EFBFBD><EFBFBD>', 0
|
|
|
|
|
sz_main_menu_Buf_Cut db '<27><>१<EFBFBD><E0A5A7><EFBFBD>', 0
|
|
|
|
|
sz_main_menu_Buf_Copy db '<27><><EFBFBD><EFBFBD><EFBFBD><E0AEA2><EFBFBD>', 0
|
|
|
|
|
sz_main_menu_Buf_Paste db '<27><>⠢<EFBFBD><E2A0A2><EFBFBD>', 0
|
|
|
|
|
|
|
|
|
|
sz_main_menu_Search db '<27><><EFBFBD><EFBFBD><EFBFBD>', 0
|
|
|
|
|
sz_main_menu_Search_Text db '<27><><EFBFBD><EFBFBD><EFBFBD> <20><> ⥪<><E2A5AA><EFBFBD>', 0
|
|
|
|
|
sz_main_menu_Search_Keywords db '<27><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD>祢<EFBFBD><E7A5A2> <><E1ABAE><EFBFBD>', 0
|
|
|
|
|
|
|
|
|
|
sz_main_menu_View db '<27><><EFBFBD>', 0
|
|
|
|
|
sz_main_menu_Veiw_UseSyntax db '<27>ᯮ<EFBFBD>짮<EFBFBD><ECA7AE><EFBFBD><EFBFBD> <20><><EFBFBD>ᢥ<EFBFBD><E1A2A5><EFBFBD> <20><><EFBFBD>⠪<EFBFBD><E2A0AA><EFBFBD><EFBFBD>', 0
|
|
|
|
|
sz_main_menu_Veiw_ChooseSyntax db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ᢥ<EFBFBD><E1A2A5><EFBFBD> ᨭ⠪<E1A8AD><E2A0AA><EFBFBD><EFBFBD>', 0
|
|
|
|
|
sz_main_menu_Veiw_LineBreak db '<27><><EFBFBD><EFBFBD><EFBFBD>뢠<EFBFBD><EBA2A0> ᨬ<><E1A8AC><EFBFBD> <20><>७<EFBFBD><E0A5AD><EFBFBD> <20><>ப<EFBFBD>', 0
|
|
|
|
|
|
|
|
|
|
sz_main_menu_Encoding db '<27><><EFBFBD><EFBFBD><EFBFBD><E0AEA2>', 0
|
|
|
|
|
sz_main_menu_Encoding_1251to866 db 'CP1251 ',0x1A,' CP866', 0
|
|
|
|
|
sz_main_menu_Encoding_866to1251 db 'CP866 ',0x1A,' CP1251', 0
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
|
|
sz_main_menu_File db 'File', 0
|
|
|
|
|
sz_main_menu_File_New db 'New', 0
|
|
|
|
|
sz_main_menu_File_Open db 'Open', 0
|
|
|
|
|
sz_main_menu_File_Save db 'Save', 0
|
2019-01-08 17:22:08 +01:00
|
|
|
|
sz_main_menu_File_Save_As db 'Save as', 0
|
2016-01-30 16:45:11 +01:00
|
|
|
|
sz_main_menu_File_Exit db 'Exit', 0
|
|
|
|
|
|
|
|
|
|
sz_main_menu_Changes db 'Changes', 0
|
|
|
|
|
sz_main_menu_Changes_Undo db 'Undo', 0
|
|
|
|
|
sz_main_menu_Changes_Redo db 'Redo', 0
|
|
|
|
|
|
|
|
|
|
sz_main_menu_Buf db 'Buffer', 0
|
|
|
|
|
sz_main_menu_Buf_Cut db 'Cut', 0
|
|
|
|
|
sz_main_menu_Buf_Copy db 'Copy', 0
|
|
|
|
|
sz_main_menu_Buf_Paste db 'Paste', 0
|
|
|
|
|
|
|
|
|
|
sz_main_menu_Search db 'Search', 0
|
|
|
|
|
sz_main_menu_Search_Text db 'Text search', 0
|
|
|
|
|
sz_main_menu_Search_Keywords db 'Search in keywords', 0
|
|
|
|
|
|
|
|
|
|
sz_main_menu_View db 'View', 0
|
|
|
|
|
sz_main_menu_Veiw_UseSyntax db 'Use syntax highlight', 0
|
|
|
|
|
sz_main_menu_Veiw_ChooseSyntax db 'Choose syntax highlight', 0
|
|
|
|
|
sz_main_menu_Veiw_LineBreak db 'Show line break symbols', 0
|
|
|
|
|
|
|
|
|
|
sz_main_menu_Encoding db 'Encoding', 0
|
|
|
|
|
sz_main_menu_Encoding_1251to866 db 'CP1251 ',0x1A,' CP866', 0
|
|
|
|
|
sz_main_menu_Encoding_866to1251 db 'CP866 ',0x1A,' CP1251', 0
|
|
|
|
|
|
|
|
|
|
end if
|
|
|
|
|
|
2019-01-11 11:59:40 +01:00
|
|
|
|
align 4
|
2016-01-30 16:45:11 +01:00
|
|
|
|
main_menu dd 0
|
|
|
|
|
main_menu_file dd 0
|
|
|
|
|
main_menu_changes dd 0
|
|
|
|
|
main_menu_buf dd 0
|
|
|
|
|
main_menu_search dd 0
|
|
|
|
|
main_menu_view dd 0
|
|
|
|
|
main_menu_encoding dd 0
|
|
|
|
|
|
|
|
|
|
KMENUITEM_NORMAL equ 0
|
|
|
|
|
KMENUITEM_SUBMENU equ 1
|
2019-01-11 11:59:40 +01:00
|
|
|
|
KMENUITEM_SEPARATOR equ 2
|
|
|
|
|
|
|
|
|
|
align 16
|
|
|
|
|
tedit_menu_init:
|
|
|
|
|
stdcall [kmenu_init], sc
|
|
|
|
|
|
|
|
|
|
stdcall [ksubmenu_new]
|
|
|
|
|
mov [main_menu], eax
|
|
|
|
|
|
|
|
|
|
stdcall [ksubmenu_new]
|
|
|
|
|
mov [main_menu_file], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_File_New, ID_BUT_NEW
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_file], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_File_Open, ID_BUT_OPEN
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_file], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_File_Save, ID_BUT_SAVE
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_file], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_File_Save_As, ID_BUT_SAVE_AS
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_file], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_SEPARATOR, 0, 0
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_file], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_File_Exit, 199
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_file], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_SUBMENU, sz_main_menu_File, [main_menu_file]
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu], eax
|
|
|
|
|
|
|
|
|
|
stdcall [ksubmenu_new]
|
|
|
|
|
mov [main_menu_changes], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_Changes_Undo, ID_BUT_UNDO
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_changes], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_Changes_Redo, ID_BUT_REDO
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_changes], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_SUBMENU, sz_main_menu_Changes, [main_menu_changes]
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu], eax
|
|
|
|
|
|
|
|
|
|
stdcall [ksubmenu_new]
|
|
|
|
|
mov [main_menu_buf], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_Buf_Cut, ID_BUT_CUT
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_buf], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_Buf_Copy, ID_BUT_COPY
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_buf], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_Buf_Paste, ID_BUT_PASTE
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_buf], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_SUBMENU, sz_main_menu_Buf, [main_menu_buf]
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu], eax
|
|
|
|
|
|
|
|
|
|
stdcall [ksubmenu_new]
|
|
|
|
|
mov [main_menu_search], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_Search_Text, ID_BUT_FIND
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_search], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_Search_Keywords, ID_BUT_KEY_WORDS
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_search], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_SUBMENU, sz_main_menu_Search, [main_menu_search]
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu], eax
|
|
|
|
|
|
|
|
|
|
stdcall [ksubmenu_new]
|
|
|
|
|
mov [main_menu_view], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_Veiw_UseSyntax, ID_BUT_SYNTAX_LIST
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_view], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_Veiw_ChooseSyntax, ID_BUT_SYNTAX_MODE
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_view], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_SEPARATOR, 0, 0
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_view], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_Veiw_LineBreak, ID_BUT_INVISIBLE
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_view], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_SUBMENU, sz_main_menu_View, [main_menu_view]
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu], eax
|
|
|
|
|
|
|
|
|
|
stdcall [ksubmenu_new]
|
|
|
|
|
mov [main_menu_encoding], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_Encoding_1251to866, ID_BUT_CONVERT_1251_866
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_encoding], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_NORMAL, sz_main_menu_Encoding_866to1251, ID_BUT_CONVERT_866_1251
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu_encoding], eax
|
|
|
|
|
stdcall [kmenuitem_new], KMENUITEM_SUBMENU, sz_main_menu_Encoding, [main_menu_encoding]
|
|
|
|
|
stdcall [ksubmenu_add], [main_menu], eax
|
2024-06-03 01:34:02 +02:00
|
|
|
|
ret
|