editors

changeset 32:53d4f9942e1c

Added EuDoc highlighting to TextMate/e-TextEditor Bundle
author Jeremy Cowgar <jeremy@cowgar.com>
date Sat Nov 27 12:40:52 2010 -0500 (2010-11-27)
parents 2479d630c1e3
children 5269ddea49c2
files Euphoria.tmbundle/Syntaxes/Euphoria.tmLanguage
line diff
     1.1 --- a/Euphoria.tmbundle/Syntaxes/Euphoria.tmLanguage	Sat Nov 27 11:49:44 2010 -0500
     1.2 +++ b/Euphoria.tmbundle/Syntaxes/Euphoria.tmLanguage	Sat Nov 27 12:40:52 2010 -0500
     1.3 @@ -77,7 +77,7 @@
     1.4                  <key>name</key>
     1.5                  <string>meta.preprocessor.euphoria</string>
     1.6                  <key>match</key>
     1.7 -                <string>\b(elsifdef|elsedef|ifdef|namespace|trace|with|without)\b</string>
     1.8 +                <string>\b(end ifdef|elsifdef|elsedef|ifdef|namespace|trace|with|without)\b</string>
     1.9              </dict>
    1.10              <dict>
    1.11                  <key>name</key>
    1.12 @@ -207,6 +207,43 @@
    1.13              </dict>
    1.14              <dict>
    1.15                  <key>begin</key>
    1.16 +                <string>\s*--\*\*</string>
    1.17 +                <key>name</key>
    1.18 +                <string>comment.line.eudoc.euphoria</string>
    1.19 +                <key>patterns</key>
    1.20 +                <array>
    1.21 +                    <dict>
    1.22 +                        <key>name</key>
    1.23 +                        <string>keyword.other.documentation.section.eudoc.euphoria</string>
    1.24 +                        <key>match</key>
    1.25 +                        <string>[A-Za-z0-9\s]+:\s*$</string>
    1.26 +                    </dict>
    1.27 +                    <dict>
    1.28 +                        <key>name</key>
    1.29 +                        <string>keyword.other.documentation.bold.eudoc.euphoria</string>
    1.30 +                        <key>match</key>
    1.31 +                        <string>\*\*[^*]+\*\*</string>
    1.32 +                    </dict>
    1.33 +                    <dict>
    1.34 +                        <key>name</key>
    1.35 +                        <string>keyword.other.documentation.fixed.eudoc.euphoria</string>
    1.36 +                        <key>match</key>
    1.37 +                        <string>\#\#[^*]+\#\#</string>
    1.38 +                    </dict>
    1.39 +                    <dict>
    1.40 +                        <key>begin</key>
    1.41 +                        <string>\[\[</string>
    1.42 +                        <key>name</key>
    1.43 +                        <string>keyword.other.documentation.link.eudoc.euphoria</string>
    1.44 +                        <key>end</key>
    1.45 +                        <string>\]\]</string>
    1.46 +                    </dict>
    1.47 +                </array>
    1.48 +                <key>end</key>
    1.49 +                <string>^\s*[^-]</string>
    1.50 +            </dict>
    1.51 +            <dict>
    1.52 +                <key>begin</key>
    1.53                  <string>/\*</string>
    1.54                  <key>captures</key>
    1.55                  <dict>

SCM Home | OpenEuphoria.org Home