Community
Participate
Working Groups
On Mac Cocoa: 1. Create a Text Control with the SWT.SINGLE style. 2. Copy the following text lines to the system clipboard: Here is some text with some new line breaks 3. Paste (Command-V) this text into the Text control. Result - the Text control displays the first line of text, but pressing the down arrow key when the control has the focus reveals the other lines of text. The newline characters are left in. This is not the case with the Text control on Carbon, where newline characters are replaced with " " characters and all text is visible on a single line.
Further information: On Windows, pasted multi-line text is curtailed up to the first newline character. On Cocoa, with the SWT.SEARCH style in addition to SWT.SINGLE the newline characters are stripped from the pasted multi-line text.
Duplicate of Bug 273470 *** This bug has been marked as a duplicate of bug 273470 ***