Backward text entry!

Having trouble installing Oxygen? Got a bug to report? Post it all here.
DanP
Posts: 18
Joined: Wed Apr 06, 2011 12:19 pm

Backward text entry!

Post by DanP »

Hi,

A fellow Oxygen user is experiencing a bizarre problem whereby text entry in text mode is appearing to the right of the cursor - thereby rendering everything she types backwards. The backspace button will delete to the left on first press and to the right on subsequent presses.

A quick restart of Oxygen solves the problem temporarily, but it soon crops up again.

Any pointers welcomed...

Thanks.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Backward text entry!

Post by sorin_ristache »

Hello,

It seems your fellow user accidentally hit Ctrl+Shift+O which is the shortcut of the action Change Text Orientation. This action switches between left-to-right editing and right-to-left editing. You can find it on the Edit menu. Right-to-left editing is used usually for documents with content in languages with this type of writing, for example Arabic text. To revert to the other type of editing just run the action again from the Edit menu or invoke the same shortcut again (Ctrl+Shift+O).


Regards,
Sorin
DanP
Posts: 18
Joined: Wed Apr 06, 2011 12:19 pm

Re: Backward text entry!

Post by DanP »

Thanks for your feedback Sorin. However, it seems that invoking the change in text orientation is not what is happening - this will prompt for confirmation of the deletion of the undo history and right-align all of the content. This isn't happening in the situation I describe - it happens unexpectedly and unprompted without the warning message and without the right-alignment of the text.

Any other ideas?
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Backward text entry!

Post by adrian »

Hi,

Check if BIDI mode is triggered for the document with the problem.
To verify this, go to the main menu: Window -> Show View -> Properties and in the Properties view look at the "BIDI" property value.

If BIDI is "true" and you are not actively using right-to-left writing you may want to disable BIDI altogether. Go to Options -> Preferences -> Editor -> Open/Save and clear the option "Enable bidirectional support".
Restart Oxygen or close and reopen all documents.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
DanP
Posts: 18
Joined: Wed Apr 06, 2011 12:19 pm

Re: Backward text entry!

Post by DanP »

Hi,

Thanks for your help. 'BIDI' was showing as false in the document properties, yet the text was still being entered in reverse. It seemed to happen spontaneously in the middle of editing - interestingly, we noticed that subsequent edits made once the text was reversing were not registering as changes to the the document, as the 'save' button was greyed out.

However, a quick trip into the options dialogue to disable all bi-directional support instantly fixed the problem - text pointing the right way, and save option enabled.

We've not much need to support bi-directional text so we can work with this temporary fix. However, this looks like a bug to me.

Thanks again.
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Backward text entry!

Post by adrian »

Hi,

We already have this logged on our issue tracking tool.
If this problem happens to you only on a specific file then it would be helpful if you could send us the file(or a sample) for analysis. If it is possible, please send it to our support email address: support@oxygenxml.com

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply