Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 23579 - Optional soft wrap of long lines
Summary: Optional soft wrap of long lines
Status: RESOLVED DUPLICATE of bug 35779
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 22713 23212 23801 100315 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-09-13 17:58 EDT by Eric Nickell CLA
Modified: 2006-07-23 02:09 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Nickell CLA 2002-09-13 17:58:36 EDT
I developed for many years (since 1984) using Cedar's node-structured editor,
Tioga, developed my Michael Plass, a student of Knuth.

Those who use Tioga for developing code use a node for each line of code.  When
a line cannot fit the available viewing space, Tioga soft-wraps the code onto
the next line, in accordance with the style rules which apply to the current
node.  Most developers have this be a hanging indent, so that long lines remain
distinguishable to the eye, the flow of the code reading is not interrupted,
modifications to the line don't require the developer to reformat the lines
manually, and the code stays readable when the window changes size, since Tioga
then reformats the node for the current boundaries.

I'd like to see JDT's editor have this same feature:
1) soft wrap is enabled by a Preference. When enabled...
2) Lines of code which cannot fit entirely in the current
   screen are soft-wrapped
3) Lines are broken at the last visible token boundary
4) Remainder of line is displayed on next line at same
   indentation plus 3 tab-equivalents.
5) The effects are in the display only; no actual new lines
   are inserted into the code.
Comment 1 Kai-Uwe Maetzel CLA 2002-09-18 12:46:52 EDT
*** Bug 22713 has been marked as a duplicate of this bug. ***
Comment 2 Kai-Uwe Maetzel CLA 2002-09-18 12:47:58 EDT
*** Bug 23212 has been marked as a duplicate of this bug. ***
Comment 3 Kai-Uwe Maetzel CLA 2002-09-27 13:44:59 EDT
*** Bug 23801 has been marked as a duplicate of this bug. ***
Comment 4 Dani Megert CLA 2004-03-11 02:55:13 EST
Note: normally we close newer bugs as duplicate of older ones. In this case the
newer bug has already some votes while this one does not.


*** This bug has been marked as a duplicate of 35779 ***
Comment 5 Dani Megert CLA 2005-06-16 01:19:06 EDT
*** Bug 100315 has been marked as a duplicate of this bug. ***