This is a migrated thread and some comments may be shown as answers.

Word for mac and copy/paste

2 Answers 83 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Marco asked on 03 Feb 2011, 08:03 PM
When using office for mac and writing some text there, if I copy and paste the text from that word document to the richtextbox document it pastes it correctly but as soon as I press enter to create a newline I get this error:

System.IndexOutOfRangeException: [Arg_IndexOutOfRangeException] Argumentos: As cadeias de recursos de depuração não estão disponíveis. Geralmente, a chave e os argumentos especificam informações suficientes para diagnosticar o problema. Consulte http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.51204.0&File=mscorlib.dll&Key=Arg_IndexOutOfRangeException ;  em Telerik.Windows.Documents.Layout.ParagraphLayoutBox.GetWordsFromText(String text)   em Telerik.Windows.Documents.Layout.ParagraphLayoutBox.CreateLayoutBoxesFromContent(LayoutBox fromBox, Span span, String text)   em Telerik.Windows.Documents.Layout.SpanLayoutBox.Update(String text)   em Telerik.Windows.Documents.Model.RadDocument.InsertInternal(String text, Span newSpanInstance, Span selectedSpanStyle, DocumentPosition positionToInsert)   em Telerik.Windows.Documents.Model.RadDocument.Insert(String text, StyleDefinition style, DocumentPosition position)   em Telerik.Windows.Documents.Model.RadDocument.Insert(String text, StyleDefinition style)   em Telerik.Windows.Documents.Commands.InsertTextCommand.ExecuteInsertCore(InsertCommandContextBase myContext)   em Telerik.Windows.Documents.Commands.InsertCommandBase.ExecuteCore(Object context)   em Telerik.Windows.Documents.Commands.CommandBase.Execute(Object context)   em Telerik.Windows.Documents.Model.RadDocument.ExecuteCommand(CommandBase command, DocumentCommandContext context)   em Telerik.Windows.Documents.UI.DocumentPagePresenter.<>c__DisplayClass1.<caretUI_TextInserted>b__0()


Thanks

2 Answers, 1 is accepted

Sort by
0
Marco
Top achievements
Rank 1
answered on 03 Feb 2011, 08:19 PM
I just found out that has to do with the bullets on word.
It works fine on word for windows but not on word for mac. If I copy just plain text from the word doc (mac) and paste it on the richtextbox it works fine too.
0
Iva Toteva
Telerik team
answered on 07 Feb 2011, 09:58 AM
Hello Marco,

Thank you for reporting this issue. We are experiencing some difficulties with RadRichTextBox under Mac OSX and we are looking into solving them.
We are sorry for the inconvenience. If you have any other questions or observations, do not hesitate to contact us again.

Best wishes,
Iva
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
RichTextBox
Asked by
Marco
Top achievements
Rank 1
Answers by
Marco
Top achievements
Rank 1
Iva Toteva
Telerik team
Share this question
or