Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Word wrap in WikiText editor
Word wrap in WikiText editor [message #601933] Mon, 23 August 2010 14:50 Go to next message
joe panico is currently offline joe panicoFriend
Messages: 5
Registered: July 2009
Junior Member
Hello,

Is there some way to get the WikiText editor in Eclipse (or any editor in Eclipse for that matter) to enforce page column width, so that it reformats blocks of text , using hard linebreaks (cr), to "fit" the block to the page width?

I would like to use WikiText to produce documentation, but I need someway of reformatting groups of lines so that they have a fixed width and a fairly uniform appearance.

thanks,

Joe
Re: Word wrap in WikiText editor [message #602031 is a reply to message #601933] Thu, 26 August 2010 20:00 Go to previous message
David Green is currently offline David GreenFriend
Messages: 136
Registered: July 2009
Senior Member
Joe,

Are you interested in having page column width enforced in the editor,
or in output files? Usually people writing documentation using Mylyn
WikiText generate HTML from their wiki source. Line wrap is then
determined by the CSS that is used with your HTML. If HTML is not the
desired output from your wiki source, what do you plan on using? You
can (for example) use PDF as an output instead, and specify the page
width which of course affects line wrap (see
http://greensopinion.blogspot.com/2009/04/mylyn-wikitext-pro duces-pdf.html).
At the extreme it's possible to cusomize the output of WikiText by
implementing a DocumentBuilder class -- that way you can pretty much
output anything you like.

Regards,

David

On 8/23/2010 7:50 AM, joe panico wrote:
> Hello,
>
> Is there some way to get the WikiText editor in Eclipse (or any editor
> in Eclipse for that matter) to enforce page column width, so that it
> reformats blocks of text , using hard linebreaks (cr), to "fit" the
> block to the page width?
>
> I would like to use WikiText to produce documentation, but I need
> someway of reformatting groups of lines so that they have a fixed width
> and a fairly uniform appearance.
>
> thanks,
>
> Joe
Previous Topic:Mylyn Monitor
Next Topic:Update Site Problem
Goto Forum:
  


Current Time: Mon Oct 22 08:27:12 GMT 2018

Powered by FUDForum. Page generated in 0.02799 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top