fix text_editor line color issue

This commit is contained in:
Jinhao
2017-04-30 04:32:23 +08:00
parent 0511a300d6
commit 855694e8c7
2 changed files with 16 additions and 9 deletions

View File

@@ -213,7 +213,7 @@ namespace nana{ namespace widgets
bool try_refresh();
private:
nana::color _m_draw_colored_area(paint::graphics& graph, std::size_t line_pos);
nana::color _m_draw_colored_area(paint::graphics& graph, const std::pair<std::size_t,std::size_t>& row, bool whole_line);
std::vector<upoint> _m_render_text(const ::nana::color& text_color);
void _m_pre_calc_lines(std::size_t line_off, std::size_t lines);