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

XmlFoldingTagger unhandled exception

1 Answer 3 Views
SyntaxEditor
This is a migrated thread and some comments may be shown as answers.
Aleksey
Top achievements
Rank 1
Veteran
Iron
Aleksey asked on 14 Apr 2020, 11:52 AM
When remove last bracket (>) in the XML with registered XmlFoldingTagger we get unhandled exception in the function GetFoldingRegionTitle because you are trying call Substring with -1 parameter.

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 15 Apr 2020, 12:12 PM

Hello Aleksey,

Thank you for reporting this issue. I've logged it on your behalf in our feedback portal where you can track its status.

SyntaxEditor: ArgumentOutOfrangeException when deleting the last bracket of a XML file and XMLFoldingTagger is used

I also updated your telerik account points as a thanks for your cooperation. I will try to add a fix for it in the upcoming internal build next week. 

Regards,
Petar Mladenov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
SyntaxEditor
Asked by
Aleksey
Top achievements
Rank 1
Veteran
Iron
Answers by
Petar Mladenov
Telerik team
Share this question
or