* Update the scroll position to the current, so we can restore there if we go back. */
| 345 | * Update the scroll position to the current, so we can restore there if we go back. |
| 346 | */ |
| 347 | void TextfileWindow::UpdateHistoryScrollpos() |
| 348 | { |
| 349 | this->history[this->history_pos].scrollpos = this->GetScrollbar(WID_TF_VSCROLLBAR)->GetPosition(); |
| 350 | } |
| 351 | |
| 352 | /** |
| 353 | * Navigate through the history, either forward or backward. |
no test coverage detected