| 623 | } |
| 624 | |
| 625 | double TextEdit::GetTotalLineHeight() |
| 626 | { |
| 627 | double total = 0; |
| 628 | for (std::vector<Line>::const_iterator iter = lines.begin(); iter != lines.end(); iter++) |
| 629 | { |
| 630 | total += iter->layout.GetSize().height; |
| 631 | } |
| 632 | return total; |
| 633 | } |
| 634 | |
| 635 | void TextEdit::Move(int steps, bool shift, bool ctrl) |
| 636 | { |