Re: markDirty() on Current- or Document- Buffer ?

2009-12-31 Thread Jean-Marc Lasgouttes
Le 30/12/2009 23:50, Tommaso Cucinotta a écrit : With the attached patch, the markDirty() is redirected on the Find WA itself, which may actually be useless, but at the end a temporary dirty buffer is ignored. However, other ("mutating") LFUNs may instead operate directly on the document buffer,

Re: markDirty() on Current- or Document- Buffer ?

2009-12-30 Thread Tommaso Cucinotta
Given the line that follows: - doc_buffer->markDirty(); + lv->currentBufferView()->buffer().markDirty(); if (lv && lv->currentBufferView()) { // BufferView::update() upda

markDirty() on Current- or Document- Buffer ?

2009-12-30 Thread Tommaso Cucinotta
Hello, after C-S-f, when I type whatever in the Find WorkArea, the document buffer is marked dirty, which is wrong. With the attached patch, the markDirty() is redirected on the Find WA itself, which may actually be useless, but at the end a temporary dirty buffer is ignored. However, other