mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
branch: Fix bug #6327: Crash in new file and press PgUp button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32102 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
260e565555
commit
5e0d1703c6
@ -1458,7 +1458,7 @@ Row const & TextMetrics::getPitAndRowNearY(int & y, pit_type & pit,
|
||||
if (rit != rlast) {
|
||||
y = yy + rit->height();
|
||||
++rit;
|
||||
} else if (pit != int(par_metrics_.size())) {
|
||||
} else if (pit < int(par_metrics_.size()) - 1) {
|
||||
++pit;
|
||||
newParMetricsDown();
|
||||
ParagraphMetrics const & pm2 = par_metrics_[pit];
|
||||
|
@ -211,6 +211,8 @@ What's new
|
||||
|
||||
- Fix an infinite loop when selecting multiple displayed equation right
|
||||
after each other with LFUN_SCREEN_UP (bug 6237).
|
||||
|
||||
- Fix a crash when pressing PageUp in an empty document (bug 6327).
|
||||
|
||||
- Fix a number of assertions when displaying error messages (bug 6205).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user