Update highlighting when Manager changed

Apr 11, 2011 at 12:34 PM
Edited Apr 11, 2011 at 12:35 PM

I modified the SyntaxHighlightBox source to update the highlighting when the CurrentHighlighter is changed. Might be useful to add to the main stream source.

IHighlighter _currentHighlighter = null;

public IHighlighter

CurrentHighlighter {

  get { return _currentHighlighter; }

  set { _currentHighlighter = value

; InvalidateBlocks(0); InvalidateVisual(); }

}

Paul

 

 

 

Coordinator
Apr 11, 2011 at 1:16 PM

Thanks, I'll update that.