NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Cursor changes direction to another language

Solved!
Go to solution
Solution
Accepted by topic author Berezka

Hi Berezka.

I was able to reproduce this on a Hebrew windows 7 system and on an XP system setting Hebrew as the language for non-unicode programs. I think it's likely a bug in the ExpressionEdit control of TestStand. I created a bug report on this issue which should be fixed in a future version of TestStand. For your reference the bug report ID is 257891.

 

I also apologize for all the hoops you were asked to jump throuh on this issue and appreciate your patience with us.

Message 11 of 15
(1,951 Views)

Hi Jimmi,

 

Thank you very much!

0 Kudos
Message 12 of 15
(1,938 Views)

I looked into this issue and it looks like a bug in the underlying RichEdit control that the ExpressionEdit control uses. I was able to reproduce this in a simple scenario with a rich edit control. I filed a bug report to Microsot on this issue:

 

https://connect.microsoft.com/VisualStudio/feedback/details/630512/richedit-control-that-internally-...

 

I don't think a work around is possible on my end, so we'll have to hope we get a fix from Microsoft.

 

I also noticed another behavior that seems a bit odd. If you have the current input language set to Hebrew and you press the Home or End key, the input language is set back to English. This also happens in a rich edit control. Is this another bug I should report to Microsoft?

0 Kudos
Message 13 of 15
(1,875 Views)

Berezka -

Because we've identified this as a problem in the underlying RichEdit control that the ExpressionEdit control uses and we have no idea if or when Microsoft will fix this bug, we're considering implementing a "fix" to this behavior in TestStand. This "fix" would involve turning off the RichEdit control feature that automatically changes the Current Input Language based on the cursor's active character. This would prevent the behavior you are seeing but would also require you to manually change the Current Input Language to English whenever you want to type English text in the ExpressionEdit control and manually change the Current Input Language to Hebrew whenever you want to type Hebrew text in the ExpressionEdit control.

Would this be a reasonable solution for your use case?

Manooch H.
National Instruments
0 Kudos
Message 14 of 15
(1,782 Views)

Hi Manooch,

It seems to be a good solution.

0 Kudos
Message 15 of 15
(1,761 Views)