editors

changeset 53:324cde3eee0c

* fix ifdef/elsifdef highlighting
author Matt Lewis
date Wed Jan 04 16:37:56 2012 -0500 (2012-01-04)
parents 6df4cdf10d75
children efbc02320870
files kate/euphoria.xml
line diff
     1.1 --- a/kate/euphoria.xml	Wed Jan 04 07:10:07 2012 -0500
     1.2 +++ b/kate/euphoria.xml	Wed Jan 04 16:37:56 2012 -0500
     1.3 @@ -247,7 +247,6 @@
     1.4  		<item> enum type </item>
     1.5  		<item> for </item>
     1.6  		<item> function </item>
     1.7 -		<item> ifdef </item>
     1.8  		<item> if </item>
     1.9  		<item> loop </item>
    1.10  		<item> procedure </item>
    1.11 @@ -259,13 +258,19 @@
    1.12  		<item> case </item>
    1.13  		<item> elsedef </item>
    1.14  		<item> else </item>
    1.15 -		<item> elsifdef </item>
    1.16  		<item> elsif </item>
    1.17  	</list>
    1.18  	
    1.19  	<list name="switch_block">
    1.20  		<item> switch </item>
    1.21  	</list>
    1.22 +	
    1.23 +	<list name="ifdef_block">
    1.24 +		<item> ifdef </item>
    1.25 +	</list>
    1.26 +	<list name="elsifdef_block">
    1.27 +		<item> elsifdef </item>
    1.28 +	</list>
    1.29  	<contexts>
    1.30  		
    1.31  		<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
    1.32 @@ -276,6 +281,8 @@
    1.33  			<keyword String="stop_start_block" endRegion="regBlock" beginRegion="regBlock" attribute="Keyword" context="#stay"/>
    1.34  			<keyword String="start_block" beginRegion="regBlock" attribute="Keyword" context="#stay"/>
    1.35  			<keyword String="switch_block" beginRegion="regSwitch" attribute="Keyword" context="#stay"/>
    1.36 +			<keyword String="ifdef_block" beginRegion="regBlock" attribute="Keyword" context="IfDef"/>
    1.37 +			<keyword String="elsifdef_block" endRegion="regBlock" beginRegion="regBlock" attribute="Keyword" context="IfDef"/>
    1.38  			<keyword attribute="Keyword" String="with_without" context="With Directive" firstNonSpace="true"/>
    1.39  			
    1.40  			<keyword attribute="Keyword" context="#stay" String="keywords"/>

SCM Home | OpenEuphoria.org Home