Completed
Last Updated: 22 May 2020 12:42 by ADMIN
Ayrton1981
Created on: 01 May 2020 05:42
Category: SyntaxEditor
Type: Bug Report
0
SyntaxEditor: ArgumentOutOfRangeException is thrown when having "//" comments in two consecutive lines preceded by non empty strings

For example:

some text // some comment

some text 2 // some comment 2

Specified argument was out of the range of valid values.
Parameter name: span

 

StackTrace:

at Telerik.Windows.SyntaxEditor.Core.Text.DataStructures.ConcatenationRopeNode.GetText(Span span) in C:\WPF_Scrum\Current\Controls\SyntaxEditor\SyntaxEditor.Core\Text\DataStructures\ConcatenationRopeNode.cs:line 140
   at Telerik.Windows.SyntaxEditor.Core.Text.TextSnapshot.GetText(Span span) in C:\WPF_Scrum\Current\Controls\SyntaxEditor\SyntaxEditor.Core\Text\TextSnapshot.cs:line 118
   at Telerik.Windows.Controls.SyntaxEditor.Taggers.CSharpFoldingTagger.GetFoldingRegionTitle(String inputValue, Span span, String startText) in C:\WPF_Scrum\Current\Controls\SyntaxEditor\SyntaxEditor\Taggers\Folding\CSharpFoldingTagger.cs:line 202

0 comments