Changeset View
Changeset View
Standalone View
Standalone View
data/syntax/haskell.xml
Show First 20 Lines • Show All 530 Lines • ▼ Show 20 Line(s) | 458 | <contexts> | |||
---|---|---|---|---|---|
531 | </context> | 531 | </context> | ||
532 | <context attribute="Normal" lineEndContext="#pop" name="import"> | 532 | <context attribute="Normal" lineEndContext="#pop" name="import"> | ||
533 | <keyword attribute="Keyword" context="#stay" String="import_keywords" /> | 533 | <keyword attribute="Keyword" context="#stay" String="import_keywords" /> | ||
534 | <RegExpr attribute="Function" context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[a-z][a-zA-Z0-9_']*" /> | 534 | <RegExpr attribute="Function" context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[a-z][a-zA-Z0-9_']*" /> | ||
535 | <RegExpr attribute="Type" context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*" /> | 535 | <RegExpr attribute="Type" context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*" /> | ||
536 | 536 | | |||
537 | <RegExpr attribute="Pragma" context="#stay" String="\{-#.*#-\}"/> | 537 | <RegExpr attribute="Pragma" context="#stay" String="\{-#.*#-\}"/> | ||
538 | <RegExpr attribute="Comment" context="comments" String="\{-[^#]?" /> | 538 | <RegExpr attribute="Comment" context="comments" String="\{-[^#]?" /> | ||
539 | <RegExpr attribute="Comment" context="comment" String="--[^\-!#\$%&\*\+/<=>\?\@\^\|~\.:].*$" /> | 539 | <RegExpr attribute="Comment" context="comment" String="--([^\-!#\$%&\*\+/<=>\?\@\^\|~\.:].*)?$" /> | ||
540 | </context> | 540 | </context> | ||
541 | 541 | | |||
542 | <!-- Haddock --> | 542 | <!-- Haddock --> | ||
543 | <context attribute="Comment" lineEndContext="#stay" name="Haddock"> | 543 | <context attribute="Comment" lineEndContext="#stay" name="Haddock"> | ||
544 | <RegExpr attribute="Haddock Hyperlink" context="#stay" String="'([A-Z][a-zA-Z0-9_']*\.)*[a-z_][a-zA-Z0-9_']*'" /> | 544 | <RegExpr attribute="Haddock Hyperlink" context="#stay" String="'([A-Z][a-zA-Z0-9_']*\.)*[a-z_][a-zA-Z0-9_']*'" /> | ||
545 | <RegExpr attribute="Haddock Module" context="#stay" String=""([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*"" /> | 545 | <RegExpr attribute="Haddock Module" context="#stay" String=""([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*"" /> | ||
546 | <RegExpr attribute="Haddock Emphasis" context="Start Haddock Emphasis" lookAhead="true" String="/.*/" /> | 546 | <RegExpr attribute="Haddock Emphasis" context="Start Haddock Emphasis" lookAhead="true" String="/.*/" /> | ||
547 | <RegExpr attribute="Haddock Bold" context="Start Haddock Bold" lookAhead="true" String="__.*__" /> | 547 | <RegExpr attribute="Haddock Bold" context="Start Haddock Bold" lookAhead="true" String="__.*__" /> | ||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |