forked from KolibriOS/kolibrios
t_edit: small fix in function open file
git-svn-id: svn://kolibrios.org@3366 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
28d7c876db
commit
34ed14415e
@ -93,6 +93,8 @@ ted_but_open_file:
|
|||||||
stdcall [mb_create],msgbox_5,thread ;message: save changes in file?
|
stdcall [mb_create],msgbox_5,thread ;message: save changes in file?
|
||||||
stdcall [mb_setfunctions],msgbox_5_funct
|
stdcall [mb_setfunctions],msgbox_5_funct
|
||||||
jmp .ret_f
|
jmp .ret_f
|
||||||
|
.no_msg: ;¬₯βͺ €«ο ’λ§<EFBFBD>’ δγͺ樨 η₯ΰ₯§ ͺ<EFBFBD>―ͺγ ’ α<EFBFBD><EFBFBD>‘ι₯¨¨ msgbox_5
|
||||||
|
pushad
|
||||||
@@:
|
@@:
|
||||||
|
|
||||||
copy_path open_dialog_name,communication_area_default_path,file_name,0
|
copy_path open_dialog_name,communication_area_default_path,file_name,0
|
||||||
|
@ -486,7 +486,7 @@ tree_file_struct:
|
|||||||
|
|
||||||
if lang eq ru
|
if lang eq ru
|
||||||
|
|
||||||
hed db '’¥ªáâ®¢ë© à¥¤ ªâ®à 14.02.13',0 ;¯®¤¯¨áì ®ª
|
hed db '’¥ªáâ®¢ë© à¥¤ ªâ®à 12.03.13',0 ;¯®¤¯¨áì ®ª
|
||||||
|
|
||||||
menu_text_area:
|
menu_text_area:
|
||||||
db '” ©«',0
|
db '” ©«',0
|
||||||
@ -514,10 +514,6 @@ msgbox_2:
|
|||||||
db 'ŤĄ á®ĺŕ ďâě',0
|
db 'ŤĄ á®ĺŕ ďâě',0
|
||||||
db 'Žâ¬Ą ',0
|
db 'Žâ¬Ą ',0
|
||||||
db 0
|
db 0
|
||||||
msgbox_2_funct:
|
|
||||||
dd On_SaveAndNewFile
|
|
||||||
dd On_NewFile
|
|
||||||
dd 0
|
|
||||||
|
|
||||||
msgbox_3:
|
msgbox_3:
|
||||||
db 1,0
|
db 1,0
|
||||||
@ -548,9 +544,6 @@ msgbox_5:
|
|||||||
db 'ŤĄ á®ĺŕ ďâě',0
|
db 'ŤĄ á®ĺŕ ďâě',0
|
||||||
db 'Žâ¬Ą ',0
|
db 'Žâ¬Ą ',0
|
||||||
db 0
|
db 0
|
||||||
msgbox_5_funct:
|
|
||||||
dd but_no_msg_OpenFile
|
|
||||||
dd 0
|
|
||||||
|
|
||||||
msgbox_6:
|
msgbox_6:
|
||||||
db 1,0
|
db 1,0
|
||||||
@ -604,7 +597,7 @@ txtFormatApply db '
|
|||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
hed db 'Text editor 14.02.13',0
|
hed db 'Text editor 12.03.13',0
|
||||||
|
|
||||||
menu_text_area:
|
menu_text_area:
|
||||||
db 'File',0
|
db 'File',0
|
||||||
@ -632,10 +625,6 @@ msgbox_2:
|
|||||||
db 'Discard',0
|
db 'Discard',0
|
||||||
db 'Cancel',0
|
db 'Cancel',0
|
||||||
db 0
|
db 0
|
||||||
msgbox_2_funct:
|
|
||||||
dd On_SaveAndNewFile
|
|
||||||
dd On_NewFile
|
|
||||||
dd 0
|
|
||||||
|
|
||||||
msgbox_3:
|
msgbox_3:
|
||||||
db 1,0
|
db 1,0
|
||||||
@ -666,9 +655,6 @@ msgbox_5:
|
|||||||
db 'Discard',0
|
db 'Discard',0
|
||||||
db 'Cancel',0
|
db 'Cancel',0
|
||||||
db 0
|
db 0
|
||||||
msgbox_5_funct:
|
|
||||||
dd but_no_msg_OpenFile
|
|
||||||
dd 0
|
|
||||||
|
|
||||||
msgbox_6:
|
msgbox_6:
|
||||||
db 1,0
|
db 1,0
|
||||||
@ -722,6 +708,15 @@ txtFormatApply db 'Apply',0
|
|||||||
|
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
;äãªæ¨¨ ¤«ï ª®¯®ª ¢ á®®¡é¥¨ïå
|
||||||
|
msgbox_2_funct:
|
||||||
|
dd On_SaveAndNewFile
|
||||||
|
dd On_NewFile
|
||||||
|
dd 0
|
||||||
|
msgbox_5_funct:
|
||||||
|
dd ted_but_open_file.no_msg
|
||||||
|
dd 0
|
||||||
|
|
||||||
KM_SHIFT equ 0x00010000
|
KM_SHIFT equ 0x00010000
|
||||||
KM_CTRL equ 0x00020000
|
KM_CTRL equ 0x00020000
|
||||||
KM_ALT equ 0x00040000
|
KM_ALT equ 0x00040000
|
||||||
|
Loading…
Reference in New Issue
Block a user