fix no response of Delete

This commit is contained in:
Jinhao
2015-03-25 01:56:48 +08:00
parent 9a5dfe7f88
commit 6a0fd78595
5 changed files with 28 additions and 29 deletions

View File

@@ -685,7 +685,7 @@ namespace nana
{
case keyboard::os_arrow_left:
case keyboard::os_arrow_right:
drawer_->editor()->respone_key(arg.key);
drawer_->editor()->respond_key(arg.key);
drawer_->editor()->reset_caret();
break;
case keyboard::os_arrow_up:
@@ -714,14 +714,14 @@ namespace nana
}
}
if (call_other_keys)
drawer_->editor()->respone_key(arg.key);
drawer_->editor()->respond_key(arg.key);
API::lazy_refresh();
}
void trigger::key_char(graph_reference graph, const arg_keyboard& arg)
{
if (drawer_->editor()->respone_char(arg.key))
if (drawer_->editor()->respond_char(arg.key))
API::lazy_refresh();
}
//end class trigger