trichview.support
Re: InsertText removes CheckPoint |
Author |
Message |
Sergey Tkachenko |
Posted: 07/15/2002 19:55:29 Fixed version will be uploaded on the next update > When I use rve.InsertText, it removes the checkpoint associated with the > current item. > > Example: > > ItemNo := 18; > Offset := rve.GetOffsBeforeItem(ItemNo); > rve.SetSelectionBounds(ItemNo, Offset, ItemNo, Offset); > > rve.InsertText( 'Any text' + crlf); > > If the InsertText does include the crlf (#13#10) it does work fine. I can > workaround this problem by using saving and restoring the checkpoint using > GetCheckpointInfo and SetCheckpointInfo but there should be a simpler way. > > Any suggestions? > > Much thanks, > Gabriel Padilla > > > |
Powered by ABC Amber Outlook Express Converter