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
Copy to Clipboard kills last tabulator
-
- Site Admin
- Posts: 17534
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17534
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
It is fixed in newer version (available for registered users). This new version is still beta and cannot be used for compiling release versions of applications.
Quick fix:
CRVData.pas, find the line
and change it to
Quick fix:
CRVData.pas, find the line
Code: Select all
if (Level=0) and (StartItem<>EndItem) and IsParaStart(EndItem) and (GetItemStyle(EndItem)>=0) and (Items[EndItem]='') then
Code: Select all
if (Level=0) then