I am currently writing an extension that provides a custom TextFormattingParagraphProperties (via ITextParagraphPropertiesFactoryService ). This seems to work fine except when I want to update line formatting due to changes elsewhere in the document.
It seems that ITextParagraphPropertiesFactoryService.Create() is called only for each line that the editor has defined is "invalid" (either if the line changes or becomes visible on the screen).
Is there a way to get IWpfTextView to update its layout (either the entire visible document, or, ideally, certain lines)?
PS The feature of TextFormattingParagraphProperties that I use is TextTabProperties and AFAIK, this is the only way to change individual tab intervals (i.e. they are not all the same)
thanks
source share