Bug 264601 - indented regions in a MarkupSourceViewer don't keep indent on wrapped lines
Summary: indented regions in a MarkupSourceViewer don't keep indent on wrapped lines
Status: RESOLVED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: David Green CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 265591
Blocks:
  Show dependency tree
 
Reported: 2009-02-11 17:08 EST by Jörg Thönnes CLA
Modified: 2013-08-02 12:42 EDT (History)
0 users

See Also:


Attachments
mylyn/context/zip (1.58 KB, application/octet-stream)
2009-02-11 17:27 EST, David Green CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jörg Thönnes CLA 2009-02-11 17:08:37 EST
The WikiText Trac markup for numeric and bullets lists differs from the HTML preview if the lines wrap around:

bc. 
1. aaa bbb ccc ddd (wrap-around)
eee fff

should be formatted as

bc. 
1. aaa bbb ccc ddd
   eee fff

but the "eee" starts at the beginning of the line instead of being indent to line-up with the previous line.

Will provide screenshots in about 10 hours.
Comment 1 David Green CLA 2009-02-11 17:27:15 EST
I've looked at this one before and remember it being very difficult if not impossible to implement using a StyledText.  Unfortunately StyledText uses a lot of final classes (such as TextLayout) that make altering this behaviour very tricky.

It would be really great to get this one working though since it makes a big visual impact.
Comment 2 David Green CLA 2009-02-11 17:27:21 EST
Created attachment 125461 [details]
mylyn/context/zip
Comment 3 Jörg Thönnes CLA 2009-02-12 01:56:41 EST
David, not sure whether it is related, but the formatting of tables also could have some improvement.
Currently, the columns are not aligned to fixed positions. Could you do anything about this?
Comment 4 David Green CLA 2009-02-12 09:51:33 EST
(In reply to comment #3)
> David, not sure whether it is related, but the formatting of tables also could
> have some improvement.

It is related, I'll see what I can do.
Comment 5 Jörg Thönnes CLA 2009-02-12 11:46:08 EST
(In reply to comment #4)
> (In reply to comment #3)
> > David, not sure whether it is related, but the formatting of tables also could
> > have some improvement.
> 
> It is related, I'll see what I can do.

OK, thanks. In the worst case, you could use monospace fonts...
Comment 6 Jörg Thönnes CLA 2009-02-20 01:54:24 EST
Any idea with regard to a workaround for tables?
Comment 7 David Green CLA 2009-02-20 10:12:31 EST
(In reply to comment #6)
> Any idea with regard to a workaround for tables?

Not at this point
Comment 8 David Green CLA 2013-08-02 12:42:53 EDT
Closed as part of backlog clean-up.  Please re-open if you'd like to see this revisited, perhaps with a contribution.