Posted: Mon Jul 16, 2007 12:26 pm
Файл должен быть в кодировке Unicode (little endian). По-моему, об этом где-то здесь писали.
Code: Select all
; lss (VladSh): http://akelpad.sourceforge.net/forum/viewtopic.php?p=1345#p1345
;=============================================;
; Highlight plugin syntax file ;
;=============================================;
;Flags (sum of the members)
; 1 case sensitive.
; 2 word is a composition of characters ("Words:" section only). Example: "0123456789" - highlight words that contain only digits.
; 4 quote end required ("Quotes:" section only).
; 8 quote start string is ignored and last meet delimiter used as quote start ("Quotes:" section only).
; 16 quote end string is ignored and first meet delimiter used as quote end ("Quotes:" section only).
; 32 don't highlight quote start ("Quotes:" section only).
; 64 don't highlight quote end ("Quotes:" section only).
; 128 don't match and don't highlight quote start ("Quotes:" section only).
; 256 don't match and don't highlight quote end ("Quotes:" section only).
; 512 quote start, delimiter or word located at line start.
; 1024 quote end, delimiter or word located at line end.
; 2048 quote start is surrounded with delimiters ("Quotes:" section only).
; 4096 quote end is surrounded with delimiters ("Quotes:" section only).
; 8192 quote doesn't contain delimiters. ("Quotes:" section only).
;
;Font styles
; 0 ignored.
; 1 normal.
; 2 bold.
; 3 italic.
; 4 bold italic.
;
;Colors
; Color need to be in #RRGGBB format.
; If color equal to zero, then color ignored.
;
;Note: for comfort file viewing/editing set tab size to 8 or higher.
;==================
;Files to highlight
;==================
Extensions:
lss
;========================
;Font Font Face
;style size name
;========================
Font:
0 0 ""
;==============================================================================
;Basic Basic Sel Sel Line Line Column Marker Caret URL
;text bkgrnd text bkgrnd text bkgrnd
;==============================================================================
Colors:
0 0 0 0 0 0 0 0 0 0
;======================================================================
;Flags Font Color Color Quote Quote Escape Quote Quote
; style text bkgrnd start end char include exclude
;======================================================================
Quotes:
;5=1+4
;272=16+256
;1549=1+4+8+512+1024
;2320=16+256+2048
5 1 #808080 0 `"` `"` "" "" ""
1 1 #008000 0 "'" "" "" "" ""
1549 2 #3399CC 0 "" : "" "" ""
1 1 #008000 0 "Rem" "" "" "" ""
1 1 #FF00FF 0 `%REM` "" "" "" ""
1 1 #FF00FF 0 `%END REM` "" "" "" ""
1 1 #FF00FF 0 `%If` "" "" "" ""
1 1 #FF00FF 0 `%End` "" "" "" ""
1 1 #FF00FF 0 "%INCLUDE" "" "" "" ""
2320 2 #0000FF 0 "Property Get" "" "" "" ""
2320 2 #0000FF 0 "Property Set" "" "" "" ""
2320 2 #0000FF 0 "End Class" "" "" "" ""
2320 2 #0000FF 0 "End Property" "" "" "" ""
2320 2 #0000FF 0 "End Function" "" "" "" ""
2320 2 #0000FF 0 "End Sub" "" "" "" ""
2320 0 #0000FF 0 "End If" "" "" "" ""
2320 0 #0000FF 0 "End Select" "" "" "" ""
2320 0 #0000FF 0 "End Forall" "" "" "" ""
2320 2 #800000 0 "Exit Property" "" "" "" ""
2320 2 #800000 0 "Exit Function" "" "" "" ""
2320 2 #800000 0 "Exit Sub" "" "" "" ""
2320 2 #800000 0 "Exit Do" "" "" "" ""
2320 2 #0000FF 0 "Public Const" "" "" "" ""
2320 0 #0000FF 0 "Private Const" "" "" "" ""
2320 0 #FF0000 0 "On Error" "" "" "" ""
272 2 #3399CC 0 "Goto " "" "" "" ""
272 2 #3399CC 0 "Resume " "" "" "" ""
;======================================
;Flags Font Color Color Char(s)
; style text bkgrnd
;======================================
Delimiters:
1 0 0 0 " "
1 0 0 0 " "
1 0 #CC3333 0 (
1 0 #CC3333 0 )
1 0 0 0 {
1 0 0 0 }
1 0 #0000FF 0 .
1 0 0 0 ,
1 0 0 0 :
1 0 0 0 ;
1 0 #0000FF 0 =
1 0 #0000FF 0 +
1 0 #0000FF 0 &
1 0 0 0 |
1 0 #0000FF 0 -
1 0 #0000FF 0 *
1 0 #0000FF 0 <
1 0 #0000FF 0 >
1 0 #808080 0 ///
1 0 #808080 0 //
;===================================
;Flags Font Color Color Word
; style text bkgrnd
;===================================
Words:
0 0 #0000FF 0 and
0 0 #0000FF 0 As
0 0 #0000FF 0 Asc
0 2 #0000FF 0 Base
0 0 #0000FF 0 Begin
0 0 #0000FF 0 Boolean
0 0 #0000FF 0 call
0 0 #0000FF 0 case
0 0 #0000FF 0 CBool
0 0 #0000FF 0 CByte
0 0 #0000FF 0 CCur
0 0 #0000FF 0 CDate
0 0 #0000FF 0 CDbl
0 0 #0000FF 0 Chr
0 0 #0000FF 0 CInt
0 2 #0000FF 0 Class
0 0 #0000FF 0 CLng
0 0 #0000FF 0 const
0 0 #0000FF 0 CSng
0 0 #0000FF 0 CStr
0 0 #0000FF 0 Day
0 2 #0000FF 0 Declare
0 0 #0000FF 0 delete
0 0 #0000FF 0 Dim
0 0 #0000FF 0 do
0 0 #0000FF 0 double
0 0 #0000FF 0 Each
0 0 #0000FF 0 else
0 0 #0000FF 0 elseif
0 2 #FF0000 0 End
0 0 #3399CC 0 Eqv
0 0 #0000FF 0 Erase
0 2 #FF0000 0 erl
0 2 #FF0000 0 err
0 2 #FF0000 0 error
0 2 #FF0000 0 Error$
0 0 #0000FF 0 Eval
0 0 #0000FF 0 Evaluate
0 0 #0000FF 0 Execute
0 0 #0000FF 0 ExecuteGlobal
0 0 #0000FF 0 exit
0 2 #0000FF 0 Explicit
0 0 #0000FF 0 false
0 0 #0000FF 0 for
0 0 #0000FF 0 forall
0 0 #0000FF 0 Format$
0 2 #0000FF 0 Function
0 0 #0000FF 0 go
0 2 #3399CC 0 gosub
0 0 #0000FF 0 Get
0 0 #0000FF 0 if
0 0 #3399CC 0 Imp
0 0 #0000FF 0 In
0 0 #0000FF 0 Input
0 0 #0000FF 0 instr
0 0 #0000FF 0 integer
0 0 #0000FF 0 is
0 0 #0000FF 0 IsElement
0 0 #0000FF 0 Join
0 0 #0000FF 0 Left
0 0 #0000FF 0 Leftb
0 0 #0000FF 0 Len
0 0 #0000FF 0 Lenb
0 0 #0000FF 0 List
0 0 #0000FF 0 long
0 0 #0000FF 0 loop
0 2 #3333CC 0 Me
0 0 #0000FF 0 MessageBox
0 0 #0000FF 0 mid
0 0 #0000FF 0 Mid$
0 0 #0000FF 0 Mod
0 0 #0000FF 0 Month
0 0 #0000FF 0 msgbox
0 0 #0000FF 0 new
0 0 #0000FF 0 Next
0 0 #0000FF 0 not
0 0 #0000FF 0 nothing
0 0 #0000FF 0 now
0 0 #0000FF 0 On
0 0 #0000FF 0 Open
0 2 #0000FF 0 Option
0 0 #0000FF 0 or
0 0 #0000FF 0 Preserve
0 0 #0000FF 0 Print
0 2 #0000FF 0 Private
0 2 #0000FF 0 Property
0 2 #0000FF 0 Public
0 0 #0000FF 0 Randomize
0 0 #0000FF 0 ReDim
0 2 #3399CC 0 Return
0 0 #0000FF 0 Right
0 0 #0000FF 0 select
0 0 #0000FF 0 set
0 0 #0000FF 0 Split
0 0 #0000FF 0 Static
0 0 #0000FF 0 Step
0 0 #0000FF 0 Stop
0 0 #0000FF 0 string
0 0 #0000FF 0 Strleft
0 0 #0000FF 0 Strright
0 2 #0000FF 0 sub
0 0 #0000FF 0 then
0 0 #0000FF 0 Time$
0 0 #0000FF 0 To
0 0 #0000FF 0 today
0 0 #0000FF 0 Trim
0 0 #0000FF 0 true
0 0 #0000FF 0 Ubound
0 0 #0000FF 0 Until
0 0 #0000FF 0 Use
0 0 #0000FF 0 Val
0 0 #0000FF 0 Variant
0 0 #0000FF 0 wend
0 0 #0000FF 0 while
0 0 #0000FF 0 with
0 0 #0000FF 0 Write
0 0 #0000FF 0 xor
0 0 #0000FF 0 YearCode: Select all
;Note:
;Color need to be in #RRGGBB format, if value
;equal to zero, then color ignored.
;==================
;Files to highlight
;==================
Extensions:
php
php5
php4
;=================================
;Char Color Color in
; selection
;=================================
Delimiters:
* #FF8000 #FF8000
// #FF8000 #FF8000
( #007700 #007700
) #007700 0
; #007700 0
;============================================================
;Word Color Color in Case
; selection sensitive
;============================================================
Words:
show_source #0000BB 0 FALSE
<?php #0000BB 0 FALSE
?> #0000BB 0 FALSE
viewtopic.php?p=1056#p1056e.g. it should highlight "//" and everything whats behind that till a line-break
or it should highlight "show_source" and everything between "()" should have a different color..
Code: Select all
;==================
;Files to highlight
;==================
Extensions:
ex1
ex2
ex3
; Opened - если активен, то блок идет до конца строки.
; Solid - если активен, то запрещает разметку синтаксиса внутри блока.
; Wrapping:
; inline - позволяет свернуть строку или неколько строк до символа "...".
; bylines - позволяет свернуть несколько строк в одну.
;=======================================================================
;Begin End Opened Text color Selected Solid Wrapping
;=======================================================================
Regions:
( ) false #color_code #color_code false inline
/* */ false #color_code #color_code true bylines
-- NONE true #color_code #color_code true none
; NONE true #color_code #color_code true none
' ' false #color_code #color_code true none
;===============================================
;Word Color Color in Case
; selection sensitive
;===============================================
Words:
(тут всё как и было)
;================================
;Char Color Color in
; selection
;================================
Delimiters:
(тут тоже всё как и было)
Thanks, but sorry it does not make much sense too me.Instructor wrote:guwapoviewtopic.php?p=1056#p1056e.g. it should highlight "//" and everything whats behind that till a line-break
or it should highlight "show_source" and everything between "()" should have a different color..
Странно... *Instructor wrote:Последняя ссылка не указывает на дополненный файл.