This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Variables window: Strings: Don't convert newlines to spaces when selecting (c&p a nightmare) | ||
---|---|---|---|
Product: | debugger | Reporter: | almson |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.2.1 | ||
Hardware: | PC | ||
OS: | Other | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
almson
2013-01-11 11:35:47 UTC
This is a behavior of the org.openide.explorer.propertysheet.StringImplaceEditor It's the JTextField, which replaces newlines with spaces. Since replacement of newlines with \n has a sense in a source code only, we should not do it directly in the generic StringImplaceEditor. Most probably, debugger would have to define it's own property editor for Strings. I think this should be fixed in StringInplaceEditor. If it shows '\n' unfocused, then when focused/selected, it should continue to show that. Simple as that. While we're at it, can the string editor show all other non-printable characters? In particular, it does not display the Unicode BOM ('\uFEFF'), which caused me some consternation today. |