fix a selection text issue of text_editor with pressing shift

This commit is contained in:
Jinhao
2015-11-16 01:20:59 +08:00
parent d3865fab63
commit a4258d3884
3 changed files with 9 additions and 11 deletions

View File

@@ -77,8 +77,8 @@ namespace nana
start_of_headline = 0x1, //Ctrl+A
end_of_text = 0x3, //Ctrl+C
backspace = 0x8, tab = 0x9,
enter_n = 0xA, enter = 0xD, enter_r = 0xD,
alt = 0x12,
enter_n = 0xA, enter = 0xD, enter_r = 0xD,
sync_idel = 0x16, //Ctrl+V
cancel = 0x18, //Ctrl+X
end_of_medium = 0x19, //Ctrl+Y
@@ -95,6 +95,8 @@ namespace nana
undo = substitute,
//System Code for OS
os_shift = 0x10,
os_ctrl = 0x11,
os_pageup = 0x21, os_pagedown,
os_arrow_left = 0x25, os_arrow_up, os_arrow_right, os_arrow_down,
os_insert = 0x2D, os_del ,