trichview.com

trichview.support




Re: DBRichViewEdit - Autosave, can't undo


Return to index


Author

Message

Marc

Posted: 12/09/2002 22:14:06


Surely, nothing is impossible? :-)


"Sergey Tkachenko" <[email protected]> wrote:

>Sorry, this is impossible.

>When you post changes, document is reloaded.

>May be in future caret position will be retained, but I think undo buffers

>will still be cleared.

>

>>

>> Hi, I'm trying to Auto-Save a DBRichViewEdit every minute. I think I got

>round

>> the problem of the caret always going back to the beginning of the

>document

>> (after Post) by checking CurItemNo and OffsetInCurItem in 'BeforePost'

and

>> using SetSelectionBounds in 'AfterPost'.

>>

>> Now I notice that the Undo buffer seems to be cleared after I have done

an

>> Auto-Save, so I cannot undo any changes from before the Auto-Save.

>>

>> Any suggestions? I am on version 1.7

>>

>> Thanks

>

>





Powered by ABC Amber Outlook Express Converter