SynEdit
                                
                                 SynEdit copied to clipboard
                                
                                    SynEdit copied to clipboard
                            
                            
                            
                        Background color is not correctly exported to RTF
Consider the attached project, using Delphi 11.3 and the latest commit of SynEdit, as of now:
- It highlights XML where some items have a background color
- The RTF exporter has the "UseBackgroundColor" set to True
- The generated output.rtf has a messed up background, starting at the item with a background color
I am not using RTF and I have not ever touched this code. It would be nice if you find a fix and provide a PR.
@m-matsubara Is this something you can help with?
This seems to fix the problem. What do you think ? Changes-On-f1a128.patch
@jonjbar If you have tested and it works I can commit this. I don't know much about the rtf format to judge. Please let me know.
I also noticed that you have suggested the original line in https://github.com/TurboPack/SynEdit/issues/63.
Your patch has been applied.