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.

Bug 213829 - Hardcoded line wrap character
Summary: Hardcoded line wrap character
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P2 normal with 1 vote (vote)
Assignee: Miloslav Metelka
Keywords: PLATFORM
Depends on:
Reported: 2012-06-08 13:03 UTC by splichal
Modified: 2018-06-22 16:00 UTC (History)
2 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description splichal 2012-06-08 13:03:30 UTC

Comment 1 splichal 2012-06-08 13:10:02 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.
Comment 2 ebakke 2014-02-19 18:28:20 UTC
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.
Comment 3 ebakke 2014-02-19 18:36:24 UTC
This seems like a duplicate:
Comment 4 ebakke 2018-06-22 16:00:43 UTC
This issue has now been migrated to the JIRA issue at .