The current node attributes will be hided when folding a node in XML #262

Closed
opened 2021-02-12 08:28:08 -06:00 by kaifuzi · 2 comments
kaifuzi commented 2021-02-12 08:28:08 -06:00 (Migrated from github.com)

The current node attributes will be hided when folding a node in XML, is it possible to keep the current node attributes visible?
Thanks!

The current node attributes will be hided when folding a node in XML, is it possible to keep the current node attributes visible? Thanks!
siegfriedpammer commented 2021-03-08 09:57:08 -06:00 (Migrated from github.com)

No, this is not possible using the built-in XML folding strategy, however, you could always implement a custom folding strategy by copying the code and modifying it to match your requirements.

See github.com/icsharpcode/AvalonEdit@a5691facdd/ICSharpCode.AvalonEdit/Folding/XmlFoldingStrategy.cs

Hope this helps!

No, this is not possible using the built-in XML folding strategy, however, you could always implement a custom folding strategy by copying the code and modifying it to match your requirements. See https://github.com/icsharpcode/AvalonEdit/blob/a5691facdde5d06c3de50118c9894970d709ea55/ICSharpCode.AvalonEdit/Folding/XmlFoldingStrategy.cs Hope this helps!
kaifuzi commented 2021-03-09 10:39:50 -06:00 (Migrated from github.com)

@siegfriedpammer Thanks, I will try to define the customer folding strategy,

@siegfriedpammer Thanks, I will try to define the customer folding strategy,
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-icsharpcode/AvalonEdit#262
No description provided.