refactor text_editor

fix issues that caret works incorrectly in line-wrapped mode.
This commit is contained in:
Jinhao
2017-05-23 04:22:08 +08:00
parent df6c707356
commit a4f15f7bb0
5 changed files with 302 additions and 435 deletions

View File

@@ -65,6 +65,7 @@ namespace skeletons
void draw_corner(graph_reference);
rectangle view_area() const;
rectangle view_area(const size& alt_content_size) const;
unsigned extra_space(bool horz) const;