Summary: | [StyledText] Allow to enter Form Feed (^L) character into editor | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | James Allen <jim.allen> |
Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | daniel_megert, niraj.modi, steve_northover |
Version: | 3.3 | Keywords: | triaged |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: |
Description
James Allen
2008-04-24 13:47:40 EDT
Moving to JDT. Moving to SWT for comment: is this possible with StyledText or do we have to build a layer on top of it? By default, StyledText should not allow the user to embed control characters such as ^L into the text that the user types. It should be pretty easy to detect that the user typed it (using event.keyCode and event.character) insert the character into the text of the control. I have no idea how the operating system will draw the character and/or if it will conflict with the StyledText line delimiter. This all needs to be tried in a snippet. Please don't build a layer dedicated to ^L. There are enough layers already in the system. Your bug has been moved to triage, visit http://www.eclipse.org/swt/triage.php for more info. |