Changeset 4246
- Timestamp:
- 05/04/08 05:32:13 (2 months ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
RELEASE_NOTES.txt (modified) (1 diff)
-
wenv/kate/logtalk.xml (modified) (2 diffs)
-
wenv/pygments/logtalk.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/RELEASE_NOTES.txt
r4245 r4246 38 38 39 39 Added missing support for the syntax coloring of the built-in predicate 40 at_end_of_stream/0 to the Kate text editor and to the Source-highlight 41 package. 40 at_end_of_stream/0 to the Source-highlight package. 41 42 Added missing support for the syntax coloring of the built-in predicate 43 at_end_of_stream/0 and of the scope operator ::/2 to the Kate text editor. 42 44 43 45 Added missing support for the syntax coloring of the built-in predicate -
trunk/wenv/kate/logtalk.xml
r4240 r4246 2 2 <!DOCTYPE language SYSTEM "language.dtd"> 3 3 4 <language name="Logtalk" version="2. 0" kateversion="2.4" section="Sources" extensions="*.lgt;*.config" mimetype="text/x-logtalk" author="Paulo Moura (pmoura@logtalk.org)" license="Artistic License 2.0">4 <language name="Logtalk" version="2.1" kateversion="2.4" section="Sources" extensions="*.lgt;*.config" mimetype="text/x-logtalk" author="Paulo Moura (pmoura@logtalk.org)" license="Artistic License 2.0"> 5 5 6 6 <highlighting> … … 168 168 <context name = "entityrelations" attribute = "Normal" lineEndContext = "#stay" > 169 169 <RegExpr String = "\b(complements|extends|i(nstantiates|mp(lements|orts))|specializes)(?=[(])" attribute = "Directive" context = "#stay" /> 170 <!-- Variables --> 171 <RegExpr String = "\b[A-Z_]\w*" attribute = "Variable" context = "#stay" /> 172 <!-- Comments --> 173 <DetectChar char = "%" attribute = "Comment" context = "single line comment" /> 174 <Detect2Chars char = "/" char1 = "*" attribute = "Comment" context = "multiline comment" beginRegion = "Comment" /> 175 <!-- Strings and quoted atoms --> 176 <DetectChar char = """ attribute = "String" context = "string" /> 177 <DetectChar char = "'" attribute = "String" context = "atom" /> 178 <!-- Numbers --> 179 <RegExpr String = "0'." attribute = "Number" context = "#stay" /> 180 <RegExpr String = "0b[0-1]+" attribute = "Number" context = "#stay" /> 181 <RegExpr String = "0o[0-7]+" attribute = "Number" context = "#stay" /> 182 <RegExpr String = "0x[0-9a-fA-F]+" attribute = "Number" context = "#stay" /> 183 <RegExpr String = "\d+(\.\d+)?([eE]([-+])?\d+)?" attribute = "Number" context = "#stay" /> 184 <!-- Scope operator --> 185 <Detect2Chars char = ":" char1 = ":" attribute = "Operator" context = "#stay" /> 186 <!-- End of entity-opening directive --> 170 187 <Detect2Chars attribute = "Normal" context = "normal" char = ")" char1 = "." /> 171 188 </context> -
trunk/wenv/pygments/logtalk.py
r4245 r4246 190 190 # End of entity-opening directive 191 191 (r'([)]\.\n)', Text, 'root'), 192 # Scope operator 193 (r'(::)', Operator), 192 194 # Ponctuation 193 195 (r'[()\[\],.|]', Text),
