Page 1 of 1

word wrap in text mode?

Posted: Mon Sep 30, 2013 6:46 pm
by seagrove
Is there a "word wrap" feature in text mode?

Re: word wrap in text mode?

Posted: Mon Sep 30, 2013 9:38 pm
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

Re: word wrap in text mode?

Posted: Thu May 22, 2014 9:00 pm
by Janette
Radu, is it possible to have line wrap turned on all the time as the default?

Re: word wrap in text mode?

Posted: Fri May 23, 2014 8:37 am
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

Re: word wrap in text mode?

Posted: Fri May 13, 2022 9:17 am
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

Re: word wrap in text mode?

Posted: Thu Nov 16, 2023 3:04 am
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