Hi all,
When I use this code in the language xml
<Completion OpenOnKeyUp="false">
<List IconIndex='3'>
<Include Attribute="Keyword1"></Include>
</List>
</Completion>
...
<Attribute Name="KEYWORD1" ForeCol="Black" Bold="True"> </Attribute>
...
<Identifiers CharsStart= "A..Za..z_" Content = "A..Za..z0..9_">
<token attribute="Keyword1">
ADD ABS RAB KAB WC_ELM TC_ELM
</token>
</Identifiers>
The keywords are not recognized as defined in the token attribute part. Nothing is shown in the completion pop-up.
But when I use this, they do get recognized:
<Completion OpenOnKeyUp="false">
<Include Attribute="Keyword1"></Include>
</Completion>
...
<Attribute Name="KEYWORD1" ForeCol="Black" Bold="True"> </Attribute>
...
<Identifiers CharsStart= "A..Za..z_" Content = "A..Za..z0..9_">
<token attribute="Keyword1">
ADD ABS RAB KAB WC_ELM TC_ELM
</token>
</Identifiers>
If I do this, the Icons nicely show up:
<Completion OpenOnKeyUp="false">
<List IconIndex='3'>
ADD ABS RAB KAB WC_ELM TC_ELM
</List>
</Completion>
...
<Attribute Name="KEYWORD1" ForeCol="Black" Bold="True"> </Attribute>
...
<Identifiers CharsStart= "A..Za..z_" Content = "A..Za..z0..9_">
<token attribute="Keyword1">
ADD ABS RAB KAB WC_ELM TC_ELM
</token>
</Identifiers>
Am I doing something wrong in the first code ? (This would be the preferred choice)
I want to show Icons, and use "Keyword1" elements as defined in the token attribute list.
Thanks