Changeset 4255 for trunk

Show
Ignore:
Timestamp:
05/08/08 11:48:27 (5 months ago)
Author:
pmoura
Message:

Added missing support for the syntax coloring of the built-in method clause/2 and for the external call Logtalk control construct, {}/1, corrected a bug with 0'Char constants and some typos in the support for the built-in predicates current_event/2, implements_protocol/2-3, abolish_category/1 for the Nedit text editor.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/RELEASE_NOTES.txt

    r4253 r4255  
    5656    Added missing support for the syntax coloring of the built-in control  
    5757    construct call/1 to the GtkSourceView 2.x text widget. 
     58 
     59    Added missing support for the syntax coloring of the built-in method  
     60    clause/2 and for the external call Logtalk control construct, {}/1,  
     61    corrected a bug with 0'Char constants and some typos in the support  
     62    for the built-in predicates current_event/2, implements_protocol/2-3,  
     63    abolish_category/1 for the Nedit text editor. 
    5864 
    5965 
  • trunk/wenv/nedit/logtalk.pats

    r3952 r4255  
    33! Author: Paulo Moura (pmoura at logtalk.org) 
    44! 
    5 ! Last changed in: December 6, 2007 
     5! Last changed in: May 8, 2008 
    66! 
    77! 
     
    3131    Message sending operators:"::|\\^\\^":::Keyword::\n\ 
    3232    Category predicate direct call:":":::Keyword::\n\ 
     33    External call:"[{}]":::Keyword::\n\ 
    3334    Control constructs:"!|;|\\-\\-\\>|\\-\\>|<(true|fail)>":::Subroutine::\n\ 
    3435    Control constructs:"<(call|catch|throw)(?=[(])":::Subroutine::\n\ 
    3536    Block comment:"/\\*":"\\*/"::Comment::\n\ 
    3637    Line comment:"%":"$"::Comment::\n\ 
    37     Number:"0'[A-Za-z0-9]":::Numeric Const::\n\ 
     38    Number:"0'.":::Numeric Const::\n\ 
    3839    Number:"0b[0-1]+":::Numeric Const::\n\ 
    3940    Number:"0o[0-7]+":::Numeric Const::\n\ 
     
    4243    String:"""":""""::String::\n\ 
    4344    String:"'":"'"::String::\n\ 
    44     Built-in methods:"<(parameter|self|sender|this|current_predicate|predicate_property|abolish|asserta|assertz|retractall|retract|bagof|findall|forall|setof|before|after|expand_term|goal_expansion|term_expansion|phrase|threaded|threaded_call|threaded_once|threaded_ignore|threaded_exit|threaded_peek|threaded_wait|threaded_notify)(?=[(])":::Subroutine::\n\ 
     45    Built-in methods:"<(parameter|self|sender|this|current_predicate|predicate_property|abolish|asserta|assertz|clause|retractall|retract|bagof|findall|forall|setof|before|after|expand_term|goal_expansion|term_expansion|phrase|threaded|threaded_call|threaded_once|threaded_ignore|threaded_exit|threaded_peek|threaded_wait|threaded_notify)(?=[(])":::Subroutine::\n\ 
    4546    Arithmetic operators:"<is>|\\+|\\*|\\-|/|=:=|=\\\\=|=\\<|\\>=|\\<|\\>":::Subroutine::\n\ 
    46     Built-in predicates:"<(current_object|current_protocol|current_category|create_object|create_protocol|create_category|object_property|protocol_property|category_property|abolish_object|abolish_protocol|abolish_vategory|complements_object|extends_object|extends_protocol|extends_category|omplements_protocol|instantiates_class|specializes_class|imports_category|abolish_events|current_events|define_events|current_logtalk_flag|set_logtalk_flag|logtalk_compile|logtalk_load|logtalk_library_path|forall|retractall)(?=[(])":::Subroutine::\n\ 
     47    Built-in predicates:"<(current_object|current_protocol|current_category|create_object|create_protocol|create_category|object_property|protocol_property|category_property|abolish_object|abolish_protocol|abolish_category|complements_object|extends_object|extends_protocol|extends_category|implements_protocol|instantiates_class|specializes_class|imports_category|abolish_events|current_event|define_events|current_logtalk_flag|set_logtalk_flag|logtalk_compile|logtalk_load|logtalk_library_path|forall|retractall)(?=[(])":::Subroutine::\n\ 
    4748    Term unification:"=|\\\\=":::Subroutine::\n\ 
    4849    Term unification:"<unify_with_occurs_check(?=[(])":::Subroutine::\n\ 
     
    6465    Evaluable functors:"<(rem|mod|abs|sign|float_integer_part|float_fractional_part|float|floor|truncate|round|ceiling)(?=[(])":::Subroutine::\n\ 
    6566    Evaluable functors:"\\+|-|\\*|//|/":::Subroutine::\n\ 
    66     Other arithemtic functors:"\\*\\*":::Subroutine::\n\ 
     67    Other arithemtic functors:"\\*\\*|<rem>|<mod>":::Subroutine::\n\ 
    6768    Other arithemtic functors:"\\*\\*|<(sin|cos|atan|exp|log|sqrt)(?=[(])":::Subroutine::\n\ 
    6869    Bitwise functors:">>|<<|/\\\\|\\\\/|\\\\":::Subroutine::\n\ 
     70    Atoms:"[a-z]\\w*":::Plain::\n\ 
     71    Variables:"[A-Z_]\\w*":::Identifier::\n\ 
    6972} 
    7073nedit.languageModes:    Logtalk: .lgt .config::::4:4:\n\