Arg_IndexOutOfRangeException in BidiControls

Jun 8, 2009 at 7:59 AM

Sometimes I recieve the Arg_IndexOutOfRangeException.

StackTrace:

at NBidi.NBidi.VisualToLogicalPosition(String logicalOrigStringNoRLM, Int32 visualPosition)

at System.Windows.BidiControls.TextBox.onInternalTextChanged(Object sender, TextChangedEventArgs e)

at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)

at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)