| 98 | } |
| 99 | |
| 100 | bool FileContentLayout::MoveRight() { |
| 101 | if((this->x_offset + this->max_line_length) < this->cur_read_lines_max_length) { |
| 102 | this->x_offset++; |
| 103 | return true; |
| 104 | } |
| 105 | return false; |
| 106 | } |
| 107 | |
| 108 | void FileContentLayout::UpdateLineLimits() { |
| 109 | this->cur_read_lines_max_length = 0; |