comparison runtime/syntax/uil.vim @ 4681:2eb30f341e8d

Updated runtime files and translations.
author Bram Moolenaar <bram@vim.org>
date Sat, 01 Jun 2013 14:50:56 +0200
parents 1b584a6f446c
children 43efa4f5a8ea
comparison
equal deleted inserted replaced
4680:fd8cc7fbc273 4681:2eb30f341e8d
1 " Vim syntax file 1 " Vim syntax file
2 " Language: Motif UIL (User Interface Language) 2 " Language: Motif UIL (User Interface Language)
3 " Maintainer: Thomas Koehler <jean-luc@picard.franken.de> 3 " Maintainer: Thomas Koehler <jean-luc@picard.franken.de>
4 " Last Change: 2012 May 14 4 " Last Change: 2013 May 23
5 " URL: http://gott-gehabt.de/800_wer_wir_sind/thomas/Homepage/Computer/vim/syntax/uil.vim 5 " URL: http://gott-gehabt.de/800_wer_wir_sind/thomas/Homepage/Computer/vim/syntax/uil.vim
6 6
7 " Quit when a syntax file was already loaded 7 " Quit when a syntax file was already loaded
8 if version < 600 8 if version < 600
9 syntax clear 9 syntax clear
23 " String and Character constants 23 " String and Character constants
24 " Highlight special characters (those which have a backslash) differently 24 " Highlight special characters (those which have a backslash) differently
25 syn match uilSpecial contained "\\\d\d\d\|\\." 25 syn match uilSpecial contained "\\\d\d\d\|\\."
26 syn region uilString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=@Spell,uilSpecial 26 syn region uilString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=@Spell,uilSpecial
27 syn match uilCharacter "'[^\\]'" 27 syn match uilCharacter "'[^\\]'"
28 syn region uilString start=+'+ skip=+\\\\\|\\"+ end=+'+ contains=@Spell,uilSpecial 28 syn region uilString start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=@Spell,uilSpecial
29 syn match uilSpecialCharacter "'\\.'" 29 syn match uilSpecialCharacter "'\\.'"
30 syn match uilSpecialStatement "Xm[^ =(){}]*" 30 syn match uilSpecialStatement "Xm[^ =(){}:;]*"
31 syn match uilSpecialFunction "MrmNcreateCallback" 31 syn match uilSpecialFunction "MrmNcreateCallback"
32 syn match uilRessource "XmN[^ =(){}]*" 32 syn match uilRessource "XmN[^ =(){}:;]*"
33 33
34 syn match uilNumber "-\=\<\d*\.\=\d\+\(e\=f\=\|[uU]\=[lL]\=\)\>" 34 syn match uilNumber "-\=\<\d*\.\=\d\+\(e\=f\=\|[uU]\=[lL]\=\)\>"
35 syn match uilNumber "0[xX]\x\+\>" 35 syn match uilNumber "0[xX]\x\+\>"
36 36
37 syn region uilComment start="/\*" end="\*/" contains=@Spell,uilTodo 37 syn region uilComment start="/\*" end="\*/" contains=@Spell,uilTodo