Line Wrapping

Are you missing a feature? Request its implementation here.
gwolfgang
Posts: 5
Joined: Mon Jan 28, 2008 1:17 am

Line Wrapping

Post by gwolfgang »

Line Wrapping Button

To be able to work efficiently at code level, the line wrapping tool is very essential. This tool should is presently deeply nested in the menus, and not availalbe at button click.

It would be very good if a button could be included in the navigation bar. By pressing this button, line wrapping is turned on / off (see Notepad ++ for comparison). In Notepad ++ the line folding is not disturbed by having line wrapping on or off. Line folding and wrapping should be able to co-exist fully.

Thanks for considering this small, but important suggestion.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

In the Text mode of the XML editor you have the action Image (Format and Indent) on the toolbar Document and on the menu Document -> XML Document. If you click on the toolbar button the XML content is formatted with the options set in Options -> Preferences -- Editor -- Format -- XML by inserting new line characters in the document. If you just want to wrap the lines visually without inserting new line characters you should check the option Line wrap in Options -> Preferences -- Editor -- Text. This option does not have a toolbar button because line wrapping does not seem to be switched on and off frequently. Usually the line wrapping is either on or off and the switch does not occur frequently.

In the Author mode the line wrapping is set by the white-space property in the CSS stylesheet that drives the rendering of your XML document.


Regards,
Sorin
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Re: Line Wrapping

Post by george »

You can toggle soft wrapping not only from options but also with an action Document->Edit->Toggle Line Wrap. By default this has as shortcut CTRL+Shift+Y but you can change it if you like some other combination from Options->Menu Shortcut Keys.

Providing folding when soft line wrapping is enabled is recorded on our issue tracking system as an improvement request.

Regards,
George
George Cristian Bina
Radu
Posts: 9473
Joined: Fri Jul 09, 2004 5:18 pm

Re: Line Wrapping

Post by Radu »

Hi,

Line wrap with code folding enabled will be available in Oxygen 12.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply