fix input issues on Linux(#87)

This commit is contained in:
Jinhao
2015-11-16 00:38:03 +08:00
parent f715fb613e
commit 1e6360843e
3 changed files with 129 additions and 78 deletions

View File

@@ -2716,6 +2716,7 @@ namespace nana{ namespace widgets
auto length = text.size();
textbase_.insert(crtpos, std::move(text));
crtpos.x += static_cast<unsigned>(length);
behavior_->pre_calc_line(crtpos.y, width_pixels());
}