Edwin Leuven wrote: > Edwin Leuven wrote: > > i have been looking more into this and i don't get the crash when the > > paragraph runs over more than 1 row. > > > > the (mechanical) reason is that > > > > row.endpos() > > > > in > > > > int numberOfHfills(Paragraph const & par, Row const & row) > > > > is +1 when the par runs over more than 1 row (keeping the length of the > > row equal) > > > > does this ring a bell anyone?
No, but I wonder why this isn't the case on Linux? Here, endpos is correct AFAICS. > the attached patch fixes the crash > > (but it doesn't seem to be the proper place to fix this, but i am pretty > lost in this part of the code...) Indeed, it rather seems to hide the bug. So we need to serach for the real bug (I'm also lost, and I'd appreciate some help). Jürgen