Re: segfaults with last selection repaint patch in riched20

2006-08-11 Thread Phil Krylov
Hi Krzysztof, On 11/08/06, Krzysztof Foltman <[EMAIL PROTECTED]> wrote: What are the circumstances? Is it after some delete/insert operation, or just after document load? Well I have not traced the whole sequence of calls to richedit, but from the display I can suppose the following. I am doin

Re: segfaults with last selection repaint patch in riched20

2006-08-11 Thread Krzysztof Foltman
Phil Krylov wrote: I was getting a segfault in ME_MarkForPainting() after that patch (BTW great work), Owww... I really hoped to avoid bugs in THAT :) and started looking through the code. One thing I found was obviously a typo which can be easily fixed (BTW I don't know for sure but I'd als

segfaults with last selection repaint patch in riched20

2006-08-10 Thread Phil Krylov
Hi Krzysztof, I was getting a segfault in ME_MarkForPainting() after that patch (BTW great work), and started looking through the code. One thing I found was obviously a typo which can be easily fixed (BTW I don't know for sure but I'd also update pLastSelStartPara and pLastSelEndPara here): ---