Bug 213829 - Hardcoded line wrap character
Hardcoded line wrap character
Status: NEW
Product: editor
Classification: Unclassified
Component: Painting & Printing
7.1
PC Windows 7
: P2 with 1 vote (vote)
: TBD
Assigned To: Miloslav Metelka
issues@editor
: PLATFORM
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-08 13:03 UTC by splichal
Modified: 2014-02-19 18:36 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

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:

https://netbeans.org/bugzilla/show_bug.cgi?id=231880


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo