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: | Hardcoded line wrap character | ||
---|---|---|---|
Product: | editor | Reporter: | splichal |
Component: | Painting & Printing | Assignee: | Miloslav Metelka <mmetelka> |
Status: | NEW --- | ||
Severity: | normal | CC: | markiewb, veronika |
Priority: | P2 | Keywords: | PLATFORM |
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
splichal
2012-06-08 13:03:30 UTC
We are using the editor to display large document texts with line wrapping. The editor component displays always an arrow character on places where a text line has been wrapped. This makes the text reading very uncomfortable. Unfortunatelly the line wrap character can not be switched off or changed to something invisible (space) because it is hardcoded. I agree with this request. In fact, it would be great if all the constants OPRINTING_SPACE, PRINTING_TAB, PRINTING_NEWLINE, and LINE_CONTINUATION in org.netbeans.modules.editor.lib2.view.DocumentViewOp could be customized on a MIME type level. A related request would be to split up PRINTING_SPACE into one character for use at the beginning of lines, one between words, and one for spaces at the end of lines. That way it would be possible to show spaces at the end of a line but not in between words. (Arguably there is little reason to show something special for spaces between words--they are already visible by means of pushing their adjacent words apart.) I can file a separate RFE for this if desired. My use case: I'm developing a platform application that makes use of a small line-wrapping editor for an Excel-style formula bar (can be 1-5 lines tall). I'd like to show a symbol after explicit carriage returns but hide all other non-printable characters, notably _without_ showing a special symbol for broken lines. This seems like a duplicate: https://netbeans.org/bugzilla/show_bug.cgi?id=231880 This issue has now been migrated to the JIRA issue at https://issues.apache.org/jira/browse/NETBEANS-977 . |