| Summary: | Not able to paste Ms-Excel column into SWT’s Text widget | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Kumar <rajendrakumar> |
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | curtis.windatt.public, grant_gayed |
| Version: | 4.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Kumar
To me the current behaviour makes sense. If you are pasting multiple lines into a single line text box, you should only get the first line. However, I will let SWT decide this bug's fate. This is the correct native win32 behaviour, the same thing happens if you paste into any other single-line win32 text control in Windows itself. Closing report. To override this native behaviour you need to access the clipboard content and insert the text you want into the text control. For an example of accessing the clipboard see http://git.eclipse.org/c/platform/eclipse.platform.swt.git/plain/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet94.java . |