Changeset 1465 for trunk/wenv

Show
Ignore:
Timestamp:
09/07/04 04:03:45 (4 years ago)
Author:
pmoura
Message:

Added syntax coloring for the new alias/3 directive.

Location:
trunk/wenv
Files:
10 modified

Legend:

Unmodified
Added
Removed
  • trunk/wenv/crimson/logtalk.key

    r1131 r1465  
    99public protected private 
    1010dynamic discontiguous multifile 
    11 mode metapredicate 
     11mode metapredicate alias 
    1212end_object end_category end_protocol 
    1313 
  • trunk/wenv/emacs/logtalk.el

    r1150 r1465  
    55;; Author: Paulo Moura 
    66;; Creation date: November 15, 2003 
    7 ;; Last modification date: July 17, 2004 
    8 ;; Version: 0.6 
     7;; Last modification date: September 7, 2004 
     8;; Version: 0.61 
    99 
    1010;; Installation: 
     
    3030;; setup  
    3131 
    32 (defvar logtalk-mode-version "0.6" 
     32(defvar logtalk-mode-version "0.61" 
    3333    "Logtalk mode version number") 
    3434 
     
    102102        ("\\(category\\|object\\|protocol\\)\\([(]\\)" 1 'logtalk-directive-face) 
    103103        ("\\(p\\(?:r\\(?:ivate\\|otected\\)\\|ublic\\)\\)\\([(]\\)" 1 'logtalk-directive-face) 
    104         ("\\(calls\\|d\\(?:iscontiguous\\|ynamic\\)\\|in\\(?:fo\\|itialization\\)\\|m\\(?:\\(?:etapredicat\\|od\\)e\\)\\|op\\|uses\\)\\([(]\\)" 1 'logtalk-directive-face) 
     104        ("\\(alias\\|calls\\|d\\(?:iscontiguous\\|ynamic\\)\\|in\\(?:fo\\|itialization\\)\\|m\\(?:\\(?:etapredicat\\|od\\)e\\)\\|op\\|uses\\)\\([(]\\)" 1 'logtalk-directive-face) 
    105105        ("\\(dynamic\\)\\([\.]\\)" 1 'logtalk-directive-face) 
    106106        ("\\(\\(?:extend\\|i\\(?:mp\\(?:\\(?:lemen\\|or\\)t\\)\\|nstantiate\\)\\|specialize\\)s\\)\\([(]\\)" 1 'logtalk-directive-face) 
  • trunk/wenv/jedit/logtalk.xml

    r1150 r1465  
    66 
    77    written by      Paulo Moura 
    8     version         1.41 
    9     created on       2 May 2002 
    10     last revised    17 July 2004 
     8    version         1.42 
     9    created on      2 May 2002 
     10    last revised    7 September 2004 
    1111     
    1212    To install, copy this file to the "modes" subdirectory in jEdit  
     
    145145        <SPAN TYPE="FUNCTION" NO_LINE_BREAK="FALSE" DELEGATE="ENTITY_NAMES"> 
    146146            <BEGIN>:- uses(</BEGIN> 
     147            <END>).</END> 
     148        </SPAN> 
     149        <SPAN TYPE="FUNCTION" NO_LINE_BREAK="FALSE" DELEGATE="ENTITY_NAMES"> 
     150            <BEGIN>:- alias(</BEGIN> 
    147151            <END>).</END> 
    148152        </SPAN> 
  • trunk/wenv/kate/logtalk.xml

    r1194 r1465  
    22<!DOCTYPE language SYSTEM "language.dtd"> 
    33 
    4 <language name="Logtalk" version="1.30" kateversion="2.1" section="Sources" extensions="*.mlgt;*.lgt;*.loader;*.config" mimetype="text/x-logtalk" author="Paulo Moura (pmoura@logtalk.org)" license="Artistic License 2.0"> 
     4<language name="Logtalk" version="1.31" kateversion="2.1" section="Sources" extensions="*.mlgt;*.lgt;*.loader;*.config" mimetype="text/x-logtalk" author="Paulo Moura (pmoura@logtalk.org)" license="Artistic License 2.0"> 
    55 
    66    <highlighting> 
     
    165165                <RegExpr String = "\bmode(?=[(])" attribute="Directive" context="#pop" /> 
    166166                <RegExpr String = "\bdynamic[.]" attribute="Directive" context="#pop" /> 
    167                 <RegExpr String = "\b(d(ynamic|iscontiguous)|m(etapredicate|ultifile))(?=[(])" attribute="Directive" context="#pop" /> 
     167                <RegExpr String = "\b(alias|d(ynamic|iscontiguous)|m(etapredicate|ultifile))(?=[(])" attribute="Directive" context="#pop" /> 
    168168                <RegExpr String = "\bop(?=[(])" attribute="Directive" context="#pop" /> 
    169169                <RegExpr String = "\b(calls|uses)(?=[(])" attribute="Directive" context="#pop" /> 
  • trunk/wenv/nedit/logtalk.pats

    r1150 r1465  
    33! Author: Paulo Moura (pmoura at logtalk.org) 
    44! 
    5 ! Last changed in: July 17, 2004 
     5! Last changed in: September 7, 2004 
    66! 
    77! 
     
    2525    Entity directives:"(?<=:\\-\\s)(end_object|end_protocol|end_category)(?=[.])":::Preprocessor::\n\ 
    2626    Entity relations:"<(instantiates|specializes|extends|imports|implements)(?=[(])":::Preprocessor::\n\ 
    27     Directives:"(?<=:\\-\\s)(initialization|info|mode|dynamic|discontiguous|public|protected|private|metapredicate|multifile|op|calls|uses)(?=[(])":::Preprocessor::\n\ 
     27    Directives:"(?<=:\\-\\s)(alias|initialization|info|mode|dynamic|discontiguous|public|protected|private|metapredicate|multifile|op|calls|uses)(?=[(])":::Preprocessor::\n\ 
    2828    Directives:"(?<=:\\-\\s)dynamic>":::Preprocessor::\n\ 
    2929    Clause operators:":\\-|\\.|,":::Keyword::\n\ 
  • trunk/wenv/subethaedit/logtalk.plist

    r1150 r1465  
    7171                <string>\:\-[[:space:]](category)\(</string>             
    7272                <string>\:\-[[:space:]](end_category)\.</string>             
     73                <string>\:\-[[:space:]](alias)\(</string>            
    7374                <string>\:\-[[:space:]](initialization)\(</string>           
    7475                <string>\:\-[[:space:]](info)\(</string>             
  • trunk/wenv/subethaedit2/Logtalk.mode/Contents/Resources/SyntaxDefinition.xml

    r1131 r1465  
    2424                <regex>:-\s(category)\(</regex>          
    2525                <regex>:-\s(end_(object|protocol|category))\.</regex>            
     26                <regex>:-\s(alias)\(</regex>             
    2627                <regex>:-\s(initialization)\(</regex>            
    2728                <regex>:-\s(info)\(</regex>          
  • trunk/wenv/textpad/logtalk.syn

    r1131 r1465  
    22;  
    33; Author:           Paulo Moura 
    4 ; Last changed in:  September 6, 2002 
     4; Last changed in:  September 7, 2004 
    55; 
    66; Tags used and sugested colors: 
     
    8686 
    8787; Logtalk directives 
     88alias 
    8889initialization 
    8990info 
  • trunk/wenv/vim/logtalk.vim

    r1131 r1465  
    33" Language: Logtalk 
    44" Maintainer:   Paulo Moura <pmoura@logtalk.org> 
    5 " Last Change:  2004 July 7 
     5" Last Change:  2004 September 7 
    66 
    77 
     
    7070" Logtalk directives 
    7171 
     72syn region  logtalkDir      matchgroup=logtalkDirTag    start=":- alias("       matchgroup=logtalkDirTag    end=")\."   contains=ALL 
    7273syn region  logtalkDir      matchgroup=logtalkDirTag    start=":- initialization("  matchgroup=logtalkDirTag    end=")\."   contains=ALL 
    7374syn region  logtalkDir      matchgroup=logtalkDirTag    start=":- info("        matchgroup=logtalkDirTag    end=")\."   contains=ALL 
     
    7677syn match   logtalkDirTag       ":- dynamic\." 
    7778syn region  logtalkDir      matchgroup=logtalkDirTag    start=":- discontiguous("   matchgroup=logtalkDirTag    end=")\."   contains=ALL 
    78 syn region  logtalkDir      matchgroup=logtalkDirTag    start=":- multifile("   matchgroup=logtalkDirTag    end=")\."   contains=ALL 
     79syn region  logtalkDir      matchgroup=logtalkDirTag    start=":- multifile("       matchgroup=logtalkDirTag    end=")\."   contains=ALL 
    7980syn region  logtalkDir      matchgroup=logtalkDirTag    start=":- public("      matchgroup=logtalkDirTag    end=")\."   contains=ALL 
    8081syn region  logtalkDir      matchgroup=logtalkDirTag    start=":- protected("       matchgroup=logtalkDirTag    end=")\."   contains=ALL 
  • trunk/wenv/xcode/logtalk.pblangspec

    r1131 r1465  
    3535        ); 
    3636        AltKeywords = ( 
     37            "alias", 
    3738            "initialization", 
    3839            "info",