Word wrap in WikiText editor [message #601933] |
Mon, 23 August 2010 10:50  |
Eclipse User |
|
|
|
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 16:00  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.15933 seconds