/programs/develop/libraries/box_lib/trunk/editbox.asm |
---|
157,6 → 157,8 |
je edit_box_key.ctrl_c |
cmp ah,47 ; Ctrl + V |
je edit_box_key.ctrl_v |
cmp ah,30 ; Ctrl + A |
je edit_box_key.ctrl_a |
@@: |
cmp ah,SCAN_LWIN_RELEASE |
jz edit_box.editbox_exit |
587,6 → 589,14 |
.exit: |
jmp edit_box.draw_bg_cursor_text |
edit_box_key.ctrl_a: |
mov eax,ed_size |
mov ed_pos,eax |
xor eax,eax |
mov ed_shift_pos,eax |
or word ed_flags,ed_shift_bac+ed_shift_on |
jmp edit_box.draw_bg_cursor_text |
;========================================================== |
;=== ®¡à ¡®âª ¬ëè¨ ======================================= |
;========================================================== |