editors

changeset 18:bfbbdcdc9036

Fixes to EuDOC comment hilighting. Now also hilights bold, italic and code references in EuDOC comment blocks.
author Jeremy Cowgar <jeremy@cowgar.com>
date Tue Nov 02 15:57:38 2010 +0000 (2010-11-02)
parents 566f40279eb8
children 8b6558dc0fa5
files microemacs/hkeuphoria.emf
line diff
     1.1 --- a/microemacs/hkeuphoria.emf	Tue Nov 02 07:57:57 2010 +0000
     1.2 +++ b/microemacs/hkeuphoria.emf	Tue Nov 02 15:57:38 2010 +0000
     1.3 @@ -132,15 +132,19 @@
     1.4      
     1.5      ; Add a hook into the normal Euphoria highlighting. We jump
     1.6      ; into eudoc when we see an opening "--**".
     1.7 -    hilight .hilight.euphoria 0x80 "--\\*\\*" .hilight.eudoc   .scheme.comment
     1.8 +    hilight .hilight.euphoria 0x80 "--\\*\\*\\*\\*$" .hilight.eudoc   .scheme.comment
     1.9 +    hilight .hilight.euphoria 0x80 "--\\*\\*$" .hilight.eudoc   .scheme.comment
    1.10      
    1.11      ; eudoc hilighting starts here
    1.12      0 hilight .hilight.eudoc 2 50                              .scheme.comment
    1.13 -    hilight .hilight.eudoc 2 "[A-Za-z0-9 ]+:$"                 .scheme.keyword
    1.14 +    hilight .hilight.eudoc 2 "[A-Za-z0-9 ]+:$"                 .scheme.function
    1.15      hilight .hilight.eudoc 1 "\\[\\[:[^]]+\\]\\]"              .scheme.link
    1.16 +    hilight .hilight.eudoc 2 "-- =+ .*$"                       .scheme.keyword
    1.17      hilight .hilight.eudoc 0x44 "\\*\\*" "**" "\\*\\*" "**" "" .scheme.string
    1.18      hilight .hilight.eudoc 0x44 "//" "//" "//" "//" ""         .scheme.string
    1.19 -    hilight .hilight.eudoc 0x80 "^$" .hilight.euphoria         .scheme.comment
    1.20 +    hilight .hilight.eudoc 0x44 "\\#\\#" "##" "\\#\\#" "##" "" .scheme.string
    1.21 +    hilight .hilight.eudoc 0x44 "{{{" "{{{" "}}}" "}}}" ""     .scheme.string
    1.22 +    hilight .hilight.eudoc 0x80 "^[^-]" .hilight.euphoria      .scheme.comment
    1.23  !endif
    1.24  
    1.25  !if &sin "d" .fhook-euphoria.setup

SCM Home | OpenEuphoria.org Home