word wrap in text mode?

Oxygen general issues.
seagrove
Posts: 8
Joined: Mon Jan 14, 2013 6:28 pm

word wrap in text mode?

Post by seagrove »

Is there a "word wrap" feature in text mode?
Costin
Posts: 833
Joined: Mon Dec 05, 2011 6:04 pm

Re: word wrap in text mode?

Post by Costin »

Hello,

Thank you for contacting us.

I think you might refer to the "line wrap" feature.
In this case, the answer is yes, oXygen XML provides line wrapping possibility.
To activate this functionality, you should go into oXygen XML Editor menu Options > Preferences > Editor > Edit modes > Text and just check the "Line wrap" box.
Please note that this would result in a soft wrap of the lines, that is oXygen automatically would wrap long lines, without altering the content in the edited documents.

Feel free to let us know in case you need any other information.

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
Janette
Posts: 4
Joined: Tue Jun 19, 2012 9:39 pm

Re: word wrap in text mode?

Post by Janette »

Radu, is it possible to have line wrap turned on all the time as the default?
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: word wrap in text mode?

Post by Radu »

Hi Janette,

Do you mean that you want for all members of the team to have this setting set to
"Line Wrap" by default?

There are several options:

1) If you go to the Oxygen Preferences->"Editor / Edit modes / Text" page, at the bottom of the page you have a radio button which allows you to save the settings at Project level. The same radio button is available on many preferences pages and allows you to save settings in a project.
Then if you all share the same project (open the same project ".xpr" file in the Oxygen Project view) you all share the same settings:

http://www.oxygenxml.com/doc/ug-oxygen/ ... aring.html

2) We also have this concept of customized default options:

http://www.oxygenxml.com/doc/ug-oxygen/ ... tions.html

which would usually mean that all members of the team could work with default options loaded from an Oxygen XML options file.

3) Using our Java-based Plugins SDK you could implement a plugin:

http://www.oxygenxml.com/doc/ug-oxygen/ ... ugins.html

which when started could force certain options to certain states. I could also give you more details about implementing a plugin for Oxygen. In Oxygen 16.0 which was just released we added a new sample plugin for imposing options in the Plugins SDK which can be used as a starting point.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
tavy
Posts: 365
Joined: Thu Jul 01, 2004 12:29 pm

Re: word wrap in text mode?

Post by tavy »

Hello,

If you want to enable/disable line wrap for the current editor you can use the "Toggle Line Wrap" action from the editor contextual menu.
https://www.oxygenxml.com/doc/versions/ ... kw_bgk_54b

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
ricaudm
Posts: 4
Joined: Tue Oct 03, 2017 2:27 pm

Re: word wrap in text mode?

Post by ricaudm »

Hello

I usualy use the CTR + SHIFT + Y shortcut to toogle wrap on the current edited file.

But I still have a problem :
When the file is updated (by an xslt transformation for example) the file is reloaded and the wrapping is back to "true"
In my settings on Edit Mode > Text is setted to "false"
Wrapping words on big file takes time (especially if you move the size of the current editor)

Is there a way to prevent wrapping to come back to true when the file is updated ?

Thanks
Matthieu
Last edited by ricaudm on Thu Nov 16, 2023 3:05 am, edited 1 time in total.
Post Reply