Ola,
ik heb (al een tijdje) voor UE een aparte highlighter voor PHP, en sinds kort ook voor CSS. Mogelijk wel handig voor andere mensen
De CSS is vast niet compleet, maar met dit begin is aanvullen zo gedaan
De CSS code:
En voor PHP heb ik de functions aangepast zodat hij ook case's etc. meeneemt
Een voorbeeld van de CSS highlighter: http://home.parse.nl/~michiel/ultraedit-css-highlighter.gif
ik heb (al een tijdje) voor UE een aparte highlighter voor PHP, en sinds kort ook voor CSS. Mogelijk wel handig voor andere mensen
De CSS is vast niet compleet, maar met dit begin is aanvullen zo gedaan
De CSS code:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
| /L11"CSS" Noquote Block Comment On = /* Block Comment Off = */ String Chars = "' File Extensions = CSS
/Delimiters = ~!@$%^&*()+=|\{}[]:;"'<>, .?/ /
/Function String = "%^([-_a-zA-Z0-9\.#:*>+,=^"/\^[^] ]++^)[^p^t ]++{"
/C1"Selectors"
** #
** .
+
>
<
/C3"Values"
absolute aqua auto
baseline black blink block blue bold bolder both bottom
capitalize center circle cursive
dashed decimal disc dotted double
fantasy fixed fuchsia
gray green groove
hidden
inline inset inside italic
justify
large larger left lighter lime line-through list-item lower-alpha lower-roman
lowercase
maroon medium middle monospace
navy no-repeat none normal nowrap
oblique olive outset outside overline
pre purple
relative red repeat repeat-x repeat-y rgb ridge right
sans-serif scroll serif silver small small-caps smaller solid square sub super
teal text-bottom text-top thick thin top transparent
underline upper-alpha upper-roman uppercase url
visible
white
x-large x-small xx-large xx-small
yellow
/C4"Properties"
background background-attachment background-color background-image
background-position background-repeat border border-bottom border-bottom-width
border-color border-left border-left-width border-right border-right-width
border-style border-top border-top-width border-width
clear color content
display
float font font-family font-size font-style font-variant font-weight
height
letter-spacing line-height list-style list-style-image list-style-position
list-style-type
margin margin-bottom margin-left margin-right margin-top min-height min-width
overflow
padding padding-bottom padding-left padding-right padding-top position
text-align text-decoration text-indent text-transform
vertical-align visibility
white-space width word-spacing
z-index
/C5"Disabled"
***x
/C6"Browser specific"
**** html
** !
/C7"Pseudo-class"
:last-child :first-child :link :visited :active :hover :focus :lang
/C8"Pseudo-element"
:first-line :first-letter :before :after |
En voor PHP heb ik de functions aangepast zodat hij ook case's etc. meeneemt
code:
1
2
3
4
5
| /Function String = "%[^t ]++function[^t ]+^([a-zA-Z0-9_&-]+[^t ]++([$a-zA-Z0-9_&,()='" -]++)^)[^t {]++^p"
/Function String 1 = "%[^t ]++^(class[^t ]+[a-zA-Z0-9_&-]+*^)[^t {]++^p"
/Function String 2 = "^(%[^t ]++case[^t ]++[a-z0-9'"_\|:-]+^)[^t ]++:[^p^t ]++"
/Function String 3 = "^(%[^t ]++default[^t ]++^)[^t ]++:[^p^t ]++"
/Function String 4 = "^(%[^t ]++switch[^t ]++(*)^)[^p^t{ ]++" |
Een voorbeeld van de CSS highlighter: http://home.parse.nl/~michiel/ultraedit-css-highlighter.gif
Klaar voor een nieuwe uitdaging.