![Avatar](https://secure.gravatar.com/avatar/9bdd843efeb48dda90f0ff2150b6ef20.jpg?s=64&d=identicon&r=g)
Would it be possible for you to make the Attributes property of the ActiproSoftware.SyntaxEditor.Addons.Xml.XmlContextElement (currently internal, Hashtable) public? It could be the whole (eventually a readonly copy so that "externals" may not corrupt your structure) hashtable or the array with the keys of the hashtable at least.
My usage scenario:
I am building my own XmlSyntaxLanguage by extending your ActiproSoftware.SyntaxEditor.Addons.Xml.XmlSyntaxLanguage.
then
base.SyntaxEditorIntelliPromptMemberListPreFilter += new IntelliPromptMemberListPreFilterEventHandler(XmlSyntaxLanguage_SyntaxEditorIntelliPromptMemberListPreFilter);
then
I can apply more complex and/or specific attribute filtering logic while avoiding to rebuild the whole info you seem to have already.
Examples for the XML Schema editor:
a choice/sequence/all compositor should not display name/ref attributes as options even though the schema resolves them as allowed (see section 3.8.2 XML Representation of Model Group Schema Components, XML Schema Part 1)
ref/name for elements are mutually exclusive.
Thank you.
My usage scenario:
I am building my own XmlSyntaxLanguage by extending your ActiproSoftware.SyntaxEditor.Addons.Xml.XmlSyntaxLanguage.
then
base.SyntaxEditorIntelliPromptMemberListPreFilter += new IntelliPromptMemberListPreFilterEventHandler(XmlSyntaxLanguage_SyntaxEditorIntelliPromptMemberListPreFilter);
then
I can apply more complex and/or specific attribute filtering logic while avoiding to rebuild the whole info you seem to have already.
Examples for the XML Schema editor:
a choice/sequence/all compositor should not display name/ref attributes as options even though the schema resolves them as allowed (see section 3.8.2 XML Representation of Model Group Schema Components, XML Schema Part 1)
ref/name for elements are mutually exclusive.
Thank you.