Bug 575644

Summary: Pasting styled text (RTF) in StyledText control pastes only the text without styling
Product: [Eclipse Project] Platform Reporter: Fredrik Ahlström <fredrik.ahlstrom>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 4.22   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Fredrik Ahlström CLA 2021-08-26 08:11:06 EDT
When pasting (Ctrl-v) from the clipboard to a StyledText control the styling is missing.

Copying from a StyledText control works because a RTFTransfer instance is created and used.
In the paste() function no attempt to look for the RTFTransfer is done, which means the styling is lost.