This project is read-only.
1
Vote

Control throws exception inside ItemsControl

description

If I put SyntaxHiglighter inside an ItemsControl (So it is repeating for each item in my collection), it throws NullReferenceException at line 67 of SyntaxHighlightBox.xaml.cs
lineNumbersCanvas.Width = GetFormattedTextWidth(string.Format("{0:0000}", totalLineCount)) + 5;

comments