/programs/develop/tinypad/trunk/data/tp-defines.inc |
---|
34,7 → 34,6 |
define mm.Options.SecureSel set_opt.secure_sel |
define mm.Options.AutoBrackets set_opt.auto_braces |
define mm.Options.AutoIndents set_opt.auto_indents |
define mm.Options.SmartTabs 0 |
define mm.Options.OptimalFill set_opt.optimal_fill |
define mm.Options.LineNumbers set_opt.line_numbers |
define mm.Options.ZoomIn key.ctrl_plus |
/programs/develop/tinypad/trunk/data/tp-idata.inc |
---|
112,7 → 112,6 |
sz ini_options_secure_sel,'secure_sel',0 |
sz ini_options_auto_braces,'auto_braces',0 |
sz ini_options_auto_indent,'auto_indent',0 |
sz ini_options_smart_tab,'smart_tab',0 |
sz ini_options_optim_save,'optim_save',0 |
sz ini_options_line_nums,'line_nums',0 |
;----------------------------------------------------------------------------- |
/programs/develop/tinypad/trunk/data/tp-locale.inc |
---|
168,7 → 168,6 |
ru,'¥§®¯ ᮥ ¢ë¤¥«¥¨¥' ,'',SecureSel ,\ |
ru,'¢â®¬ â¨ç¥áª¨¥ ᪮¡ª¨' ,'',AutoBrackets,\ |
ru,'¢â®¬ â¨ç¥áª¨© ®âáâã¯' ,'',AutoIndents ,\ |
ru,'¬ ï â ¡ã«ïæ¨ï' ,'',SmartTabs ,\ |
ru,'¯â¨¬ «ì®¥ á®åà ¥¨¥' ,'',OptimalFill ,\ |
ru,'-','',,\ |
ru,'¥è¨© ¢¨¤...' ,'',Appearance ,\ |
180,7 → 179,6 |
en,'Secure selection' ,'',SecureSel ,\ |
en,'Automatic brackets' ,'',AutoBrackets,\ |
en,'Automatic indents' ,'',AutoIndents ,\ |
en,'Smart tabulation' ,'',SmartTabs ,\ |
en,'Optimal fill on saving' ,'',OptimalFill ,\ |
en,'-','',,\ |
en,'Appearance...' ,'',Appearance ,\ |
192,7 → 190,6 |
et,'Turvaline valimine' ,'',SecureSel ,\ |
et,'Automaatsed sulud' ,'',AutoBrackets,\ |
et,'Automaatsed taandread' ,'',AutoIndents ,\ |
et,'Tark tabulatsioon' ,'',SmartTabs ,\ |
et,'Optimaalne täitmine salvestamisel','',OptimalFill,\ |
et,'-','',,\ |
et,'Välimus...' ,'',Appearance ,\ |
204,7 → 201,6 |
sp,'Selección segura' ,'',SecureSel ,\ |
sp,'Paréntesis automáticos' ,'',AutoBrackets,\ |
sp,'Identación automática' ,'',AutoIndents ,\ |
sp,'Tabulación inteligente' ,'',SmartTabs ,\ |
sp,'Llenado óptimo al guardar','',OptimalFill ,\ |
sp,'-','',,\ |
sp,'Apariencia...' ,'',Appearance |
/programs/develop/tinypad/trunk/data/tp-udata.inc |
---|
126,7 → 126,6 |
secure_sel db ? |
auto_braces db ? |
auto_indent db ? |
smart_tab db ? |
optim_save db ? |
line_nums db ? |
/programs/develop/tinypad/trunk/tinypad.asm |
---|
383,8 → 383,6 |
mov [auto_braces],al |
invoke ini.get_int,ini_path,ini_sec_options,ini_options_auto_indent,1 |
mov [auto_indent],al |
invoke ini.get_int,ini_path,ini_sec_options,ini_options_smart_tab,1 |
mov [smart_tab],al |
invoke ini.get_int,ini_path,ini_sec_options,ini_options_optim_save,1 |
mov [optim_save],al |
invoke ini.get_int,ini_path,ini_sec_options,ini_options_line_nums,0 |
437,8 → 435,6 |
invoke ini.set_int,ini_path,ini_sec_options,ini_options_auto_braces,eax |
movzx eax,[auto_indent] |
invoke ini.set_int,ini_path,ini_sec_options,ini_options_auto_indent,eax |
movzx eax,[smart_tab] |
invoke ini.set_int,ini_path,ini_sec_options,ini_options_smart_tab,eax |
movzx eax,[optim_save] |
invoke ini.set_int,ini_path,ini_sec_options,ini_options_optim_save,eax |
movzx eax,[line_nums] |
/programs/develop/tinypad/trunk/tp-popup.asm |
---|
258,28 → 258,26 |
.recode: |
ret |
.options: |
;mov word[mm.Options+0],0 |
mov byte[mm.Options+5],0 |
or byte[mm.Options+2],0x02 |
test [secure_sel],1 |
or byte[mm.Options+3],0x02 |
test [line_nums],1 |
jnz @f |
and byte[mm.Options+2],0xFD |
@@: or byte[mm.Options+3],0x02 |
test [auto_braces],1 |
jnz @f |
and byte[mm.Options+3],0xFD |
@@: or byte[mm.Options+4],0x02 |
test [auto_indent],1 |
test [secure_sel],1 |
jnz @f |
and byte[mm.Options+4],0xFD |
@@: or byte[mm.Options+5],0x02 |
test [auto_braces],1 |
jnz @f |
and byte[mm.Options+5],0xFD |
@@: or byte[mm.Options+6],0x02 |
test [optim_save],1 |
test [auto_indent],1 |
jnz @f |
and byte[mm.Options+6],0xFD |
@@: or byte[mm.Options+8],0x02 |
test [line_nums],1 |
@@: or byte[mm.Options+7],0x02 |
test [optim_save],1 |
jnz @f |
and byte[mm.Options+8],0xFD |
and byte[mm.Options+7],0xFD |
@@: ret |
pi_sel dd ? |