Posted 18 years ago
by Alexey Chuikov
-
Project Tech Leader. Custom Development,
Quest Software
Version: 4.0.0253
Hello Actipro Software Team!
I've recently tried automatic outlining using Actipro SyntaxEditor control v4.0.0253 and noticed that control creates an outlining node even if open and close bracket token are in the same line. I've found it annoying because I'm adapting control for using with PowerShell language and this language often contains such code asi.e. open and close curly braces in the same line. There is no need to collapse this such small part of code but SyntaxEditor control treats it as a usual code block and creates outlining indicator for it.
I've tried to hide unnecessary outlining marks setting OutliningNode's ParseData.IndicatorVisible property in OnDocumentAutomaticOutliningComplete overridden method but it seems that this property hides/shows outlining indicator only on the next PerformAutomaticOutlining pass.
Is there any chance to override this standard behavior?
I need your advise. What do you think?
Thanks in advance,
Alexey
I've recently tried automatic outlining using Actipro SyntaxEditor control v4.0.0253 and noticed that control creates an outlining node even if open and close bracket token are in the same line. I've found it annoying because I'm adapting control for using with PowerShell language and this language often contains such code as
$Form.Add_Shown({$form.Activate()})
I've tried to hide unnecessary outlining marks setting OutliningNode's ParseData.IndicatorVisible property in OnDocumentAutomaticOutliningComplete overridden method but it seems that this property hides/shows outlining indicator only on the next PerformAutomaticOutlining pass.
Is there any chance to override this standard behavior?
I need your advise. What do you think?
Thanks in advance,
Alexey