diff options
Diffstat (limited to 'kate/data/fortran.xml')
-rw-r--r-- | kate/data/fortran.xml | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/kate/data/fortran.xml b/kate/data/fortran.xml index 43817994b..983395523 100644 --- a/kate/data/fortran.xml +++ b/kate/data/fortran.xml @@ -395,7 +395,7 @@ <!-- This context highlights operators and the logical values .true. .false. --> <context attribute="Normal Text" lineEndContext="#stay" name="find_op_and_log"> - <RegExpr attribute="Logical" context="#stay" String="\.(true|false)\." insensitive="TRUE"/> + <RegExpr attribute="Logical" context="#stay" String="\.(true|false)\." insensitive="true"/> <RegExpr attribute="Operator" context="#stay" String="\.[A-Za-z]+\."/> <RegExpr attribute="Operator" context="#stay" String="(==|/=|<|<=|>|>=)"/> </context> @@ -426,11 +426,11 @@ <!-- The following two contexts match input/output statements --> <context attribute="Normal Text" lineEndContext="#stay" name="find_io_stmnts"> - <RegExpr attribute="IO Function" context="find_io_paren" String="\b(read|write|backspace|rewind|end\s*file|close)\s*[(]" insensitive="TRUE"/> - <RegExpr attribute="IO Function" context="find_io_paren" String="\bopen\s*[(]" insensitive="TRUE"/> - <RegExpr attribute="IO Function" context="find_io_paren" String="\binquire\s*[(]" insensitive="TRUE"/> - <RegExpr attribute="IO Function" context="format_stmnt" String="\bformat\s*[(]" insensitive="TRUE"/> - <RegExpr attribute="IO Function" context="#stay" String="\bend\s*file\b" insensitive="TRUE"/> + <RegExpr attribute="IO Function" context="find_io_paren" String="\b(read|write|backspace|rewind|end\s*file|close)\s*[(]" insensitive="true"/> + <RegExpr attribute="IO Function" context="find_io_paren" String="\bopen\s*[(]" insensitive="true"/> + <RegExpr attribute="IO Function" context="find_io_paren" String="\binquire\s*[(]" insensitive="true"/> + <RegExpr attribute="IO Function" context="format_stmnt" String="\bformat\s*[(]" insensitive="true"/> + <RegExpr attribute="IO Function" context="#stay" String="\bend\s*file\b" insensitive="true"/> <keyword attribute="IO Function" context="#stay" String="io_functions"/> </context> <!-- This context matches parenthesis for the read, write, ... statements --> @@ -450,7 +450,7 @@ <context attribute="Normal Text" lineEndContext="#stay" name="format_stmnt"> <DetectChar attribute="IO Function" context="format_stmnt" char="("/> <DetectChar attribute="IO Function" context="#pop" char=")"/> - <RegExpr attribute="IO Function" context="#stay" String="[0-9]*/" insensitive="TRUE"/> + <RegExpr attribute="IO Function" context="#stay" String="[0-9]*/" insensitive="true"/> <AnyChar attribute="IO Function" context="#stay" String=":"/> <IncludeRules context="find_strings" /> <IncludeRules context="find_symbols" /> @@ -458,39 +458,39 @@ <!-- The following context matches the begin of program units --> <context attribute="Normal Text" lineEndContext="#stay" name="find_begin_stmnts"> - <RegExpr attribute="Keyword" context="#stay" String="\bmodule\s+procedure\b" insensitive="TRUE"/> - <RegExpr attribute="Keyword" context="#stay" String="\b(subroutine|function|block\s*data)\b" insensitive="TRUE" beginRegion="Routine"/> - <RegExpr attribute="Keyword" context="#stay" String="\b(program|module|block\s*data)\b" insensitive="TRUE" beginRegion="Routine"/> - <RegExpr attribute="Keyword" context="#stay" String="\b(then|do)\b" insensitive="TRUE" beginRegion="Block"/> + <RegExpr attribute="Keyword" context="#stay" String="\bmodule\s+procedure\b" insensitive="true"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(subroutine|function|block\s*data)\b" insensitive="true" beginRegion="Routine"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(program|module|block\s*data)\b" insensitive="true" beginRegion="Routine"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(then|do)\b" insensitive="true" beginRegion="Block"/> </context> <!-- The following context matches the end of program units --> <context attribute="Normal Text" lineEndContext="#stay" name="find_end_stmnts"> - <RegExpr attribute="Keyword" context="#stay" String="\bend\s*(subroutine|function|block\s*data)\b" insensitive="TRUE" endRegion="Routine"/> - <RegExpr attribute="Keyword" context="#stay" String="\bend\s*(program|module)\b" insensitive="TRUE" endRegion="Routine"/> - <RegExpr attribute="Keyword" context="#stay" String="\bend\s*(do|if)\b" insensitive="TRUE" endRegion="Block"/> - <RegExpr attribute="Keyword" context="#stay" String="\bend\s*(select|where|forall|interface)\b" insensitive="TRUE"/> - <RegExpr attribute="Keyword" context="#stay" String="\belse\s*if\b" insensitive="TRUE" endRegion="Block"/> - <RegExpr attribute="Keyword" context="#stay" String="\bend\b" insensitive="TRUE" endRegion="Routine"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend\s*(subroutine|function|block\s*data)\b" insensitive="true" endRegion="Routine"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend\s*(program|module)\b" insensitive="true" endRegion="Routine"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend\s*(do|if)\b" insensitive="true" endRegion="Block"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend\s*(select|where|forall|interface)\b" insensitive="true"/> + <RegExpr attribute="Keyword" context="#stay" String="\belse\s*if\b" insensitive="true" endRegion="Block"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend\b" insensitive="true" endRegion="Routine"/> </context> <!-- The following context matches the mid of program units --> <context attribute="Normal Text" lineEndContext="#stay" name="find_mid_stmnts"> - <RegExpr attribute="Keyword" context="#stay" String="\belse\b" insensitive="TRUE" endRegion="Block" beginRegion="Block"/> - <RegExpr attribute="Keyword" context="#stay" String="\bcontains\b" insensitive="TRUE" endRegion="Routine" beginRegion="Routine"/> + <RegExpr attribute="Keyword" context="#stay" String="\belse\b" insensitive="true" endRegion="Block" beginRegion="Block"/> + <RegExpr attribute="Keyword" context="#stay" String="\bcontains\b" insensitive="true" endRegion="Routine" beginRegion="Routine"/> </context> <!-- The following two contexts match declarations --> <context attribute="Normal Text" lineEndContext="#stay" name="find_decls"> - <RegExpr attribute="Data Type" context="#stay" String="\binteger[\*]\d{1,2}" insensitive="TRUE"/> - <RegExpr attribute="Data Type" context="#stay" String="\breal[\*]\d{1,2}" insensitive="TRUE"/> - <RegExpr attribute="Data Type" context="#stay" String="\bcomplex[\*]\d{1,2}" insensitive="TRUE"/> - <RegExpr attribute="Data Type" context="#stay" String="\bend\s*type\b" insensitive="TRUE"/> + <RegExpr attribute="Data Type" context="#stay" String="\binteger[\*]\d{1,2}" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="\breal[\*]\d{1,2}" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="\bcomplex[\*]\d{1,2}" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="\bend\s*type\b" insensitive="true"/> <keyword attribute="Data Type" context="#stay" String="types"/> - <RegExpr attribute="Data Type" context="#stay" String="^\s*data\b" insensitive="TRUE"/> - <RegExpr attribute="Data Type" context="find_paren" String="^\s*real\s*[(]" insensitive="TRUE"/> - <RegExpr attribute="Data Type" context="#stay" String="^\s*real(?![\w\*])" insensitive="TRUE"/> - <RegExpr attribute="Data Type" context="#stay" String="\bcharacter[*][0-9]+\b" insensitive="TRUE"/> - <RegExpr attribute="Data Type" context="find_paren" String="\b(type|integer|complex|character|logical|intent|dimension)\b\s*[(]" insensitive="TRUE"/> - <RegExpr attribute="Data Type" context="#stay" String="\b(type|integer|complex|character|logical|intent|dimension)\b" insensitive="TRUE"/> + <RegExpr attribute="Data Type" context="#stay" String="^\s*data\b" insensitive="true"/> + <RegExpr attribute="Data Type" context="find_paren" String="^\s*real\s*[(]" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="^\s*real(?![\w\*])" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="\bcharacter[*][0-9]+\b" insensitive="true"/> + <RegExpr attribute="Data Type" context="find_paren" String="\b(type|integer|complex|character|logical|intent|dimension)\b\s*[(]" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="\b(type|integer|complex|character|logical|intent|dimension)\b" insensitive="true"/> <Detect2Chars attribute="Data Type" context="#stay" char=":" char1=":"/> </context> <!-- This context matches parenthesis in data type declarations, such as in 'real(...)'--> @@ -512,13 +512,13 @@ <!-- The following context matches integer and real numbers --> <context attribute="Normal Text" lineEndContext="#stay" name="find_numbers"> <!-- Floating-point numbers with optional kind --> - <RegExpr attribute="Float" context="#stay" String="[0-9]*\.[0-9]+([de][+-]?[0-9]+)?([_]([0-9]+|[a-z][\w_]*))?" insensitive="TRUE"/> - <RegExpr attribute="Float" context="#stay" String="\b[0-9]+\.[0-9]*([de][+-]?[0-9]+)?([_]([0-9]+|[a-z][\w_]*))?(?![a-z])" insensitive="TRUE"/> - <RegExpr attribute="Float" context="#stay" String="\b[0-9]+[de][+-]?[0-9]+([_]([0-9]+|[a-z][\w_]*))?" insensitive="TRUE"/> + <RegExpr attribute="Float" context="#stay" String="[0-9]*\.[0-9]+([de][+-]?[0-9]+)?([_]([0-9]+|[a-z][\w_]*))?" insensitive="true"/> + <RegExpr attribute="Float" context="#stay" String="\b[0-9]+\.[0-9]*([de][+-]?[0-9]+)?([_]([0-9]+|[a-z][\w_]*))?(?![a-z])" insensitive="true"/> + <RegExpr attribute="Float" context="#stay" String="\b[0-9]+[de][+-]?[0-9]+([_]([0-9]+|[a-z][\w_]*))?" insensitive="true"/> <!-- Integers with optional kind specifier --> <RegExpr attribute="Decimal" context="#stay" String="\b[0-9]+([_]([0-9]+|[a-zA-Z][\w_]*))?"/> <!-- Integers in binary, octal and hexadecimal notations --> - <RegExpr attribute="Decimal" context="#stay" String="\b[bozx](['][0-9a-f]+[']|["][0-9a-f]+["])" insensitive="TRUE"/> + <RegExpr attribute="Decimal" context="#stay" String="\b[bozx](['][0-9a-f]+[']|["][0-9a-f]+["])" insensitive="true"/> </context> <!-- The following four contexts implement the complex string multi-line declarations --> |