editors

changeset 22:36113455f926

Links highlight properly in EuDOC comments. trailing enum is now a continuation. Comma is also now a continuation.
author Jeremy Cowgar <jeremy@cowgar.com>
date Wed Nov 03 02:04:43 2010 +0000 (2010-11-03)
parents 612066ca4071
children 037bfb861c68
files microemacs/hkeuphoria.emf
line diff
     1.1 --- a/microemacs/hkeuphoria.emf	Wed Nov 03 02:03:55 2010 +0000
     1.2 +++ b/microemacs/hkeuphoria.emf	Wed Nov 03 02:04:43 2010 +0000
     1.3 @@ -188,10 +188,10 @@
     1.4          ; eudoc hilighting starts here
     1.5          0 hilight .hilight.eudoc 2 50                              .scheme.comment
     1.6          hilight .hilight.eudoc 2 "[A-Za-z0-9 ]+:$"                 .scheme.function
     1.7 -        hilight .hilight.eudoc 1 "\\[\\[:[^]]+\\]\\]"              .scheme.link
     1.8          hilight .hilight.eudoc 2 "-- =+ .*$"                       .scheme.keyword
     1.9          hilight .hilight.eudoc 0x44 "\\*\\*" "**" "\\*\\*" "**" "" .scheme.string
    1.10          hilight .hilight.eudoc 0x44 "//" "//" "//" "//" ""         .scheme.string
    1.11 +        hilight .hilight.eudoc 0x44 "\\[\\[" "[[" "]]" "]]" ""     .scheme.link
    1.12          hilight .hilight.eudoc 0x44 "\\#\\#" "##" "\\#\\#" "##" "" .scheme.string
    1.13          hilight .hilight.eudoc 0x44 "{{{" "{{{" "}}}" "}}}" ""     .scheme.string
    1.14          hilight .hilight.eudoc 0x80 "^[^-]" .hilight.euphoria      .scheme.comment
    1.15 @@ -241,10 +241,11 @@
    1.16  
    1.17      ; end of most statements
    1.18      indent .hilight.euphoria O "^\\s*end\\s+switch" -2t
    1.19 -    indent .hilight.euphoria O "^\\s*end"         -t
    1.20 +    indent .hilight.euphoria O "^\\s*end"           -t
    1.21  
    1.22      ; Expressions at the end of a line - try with these
    1.23 -    indent .hilight.euphoria c "[-+=*/<>&]$" t
    1.24 +    indent .hilight.euphoria c "[-+=*/<>&,]$" t
    1.25 +    indent .hilight.euphoria c "enum$" t
    1.26  
    1.27      indent .hilight.euphoria n "{" t
    1.28      indent .hilight.euphoria o "}" -t

SCM Home | OpenEuphoria.org Home