Copy to Clipboard kills last tabulator
Posted: Thu Jan 11, 2007 6:10 pm
I have a TRichViewEdit with a TAB set for example at 4 cm and containing the following text
a<TAB>b
c<TAB>d
e<TAB>f
If I select this text, copy it to Clipboart (TrichViewEdit.Copy) and then paste it in WinWord the tabwidth of the first 2 lines is correct but the last line contains no TAB and uses the standard tabwidth.
This appears also at the last line of a text with less or more lines.
Is this a bug in TCustomRVData.SaveRTFToStream?
Thanks
Patrik
a<TAB>b
c<TAB>d
e<TAB>f
If I select this text, copy it to Clipboart (TrichViewEdit.Copy) and then paste it in WinWord the tabwidth of the first 2 lines is correct but the last line contains no TAB and uses the standard tabwidth.
This appears also at the last line of a text with less or more lines.
Is this a bug in TCustomRVData.SaveRTFToStream?
Thanks
Patrik