home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
list1_56.zip
/
LIST2
/
LIST2.SET
< prev
next >
Wrap
Text File
|
1994-10-27
|
8KB
|
372 lines
;*[f*--------------------------------oOo-----------------------------------
;
; $Id: $
; $Source: $
;
; This is an example LIST2 settings file.
;
; You can set a variety of list2 items in this file.
; * Key bindings
; * Colours for status lines
; * Colours for file manager
; * Colours for buffer list
; * Other global list2 settings
; * Styles, including syntax highlighting
;
; In this file you can specify the styles which LIST2 will apply
; to files with specific extensions.
;
; Files with either no extension or with an extension which is not
; listed here will use the LIST2 defaults.
;
; $Log: $
;
; (C) 1994 Warp Factor 7, All rights reserved.
;
; Comments start with a ; and end at EOL. The ; must be the first
; non whitespace character on the line
;
; The syntax for the style heading is as follows
; Keyword StyleName File-Ext-List Inherited-Styles
; Style Pascal (.pas) Base Default...
;
; These settings if present will override the settings made with the LIST2
; command keys.
;
; All styles inherit from the settings made with the LIST2 command keys,
; this allows a style to just override the elements which is requires
; changes to.
;
;*f]*--------------------------------oOo-----------------------------------
;
; A style with an * as the file extension list will apply to files with
; extensions for which no style has been explicitly defined.
; There can only be one such style defined
;
Style Default (*)
{
Editor => b2.exe
}
;
; This is a base style which is useful for programming languages
; the empty () indicates that this style does not apply to
; any file type
;
Style Base () Default
{
SymbolsColor => Yellow
CommentColor => DarkGray
StringColor => LightRed
ReservedColor => Magenta
PreprocessorColor => Green
NumberColor => Blue
IdentColor => Brown
; if the following items are not specified they will use
; the LIST2 settings that the user has selected.
; These items can be overridden for derived styles
ForeGndColor => LightGray
BackGndColor => Black
SelectedForeGndColor => White
SelectedBackGndColor => LightGray
BoldColor => White
UnderlineColor => Brown
BoldUnderlineColor => Yellow
ExpandTabs => ON
HighBitFilter => OFF
TextWithLayout => OFF
TabWidth => 4
DisplayMode => Text
TopLineFormat => 1
}
Style Zip (.zip) Default
{
ExternalFilter => unzip -v %s
Editor =>
}
Style Binary (.exe .com .dll .ico) Default
{
; hex mode automatically turns off TextWithLayout/Highbit filter etc..
DisplayMode => Hex
}
; assume .DOC is Wordstar and not Microsoft Word
Style Wordstar (.doc) Base
{
TabWidth => 3
TextWithLayout => ON
HighBitFilter => ON
Editor => b2.exe -h
}
Style UnixManPage (.man .1) Base
{
TabWidth => 3
TextWithLayout => ON
HighBitFilter => ON
Editor => b2.exe -h
}
Style C (.c .h) Base
{
ForeGndColor => LightGray
BackGndColor => Black
TabWidth => 3
Reserved => asm
=> auto
=> break
=> case
=> cdecl
=> char
=> const
=> continue
=> default
=> double
=> do
=> else
=> enum
=> extern
=> far
=> float
=> for
=> goto
=> huge
=> if
=> interrupt
=> int
=> long
=> near
=> pascal
=> register
=> return
=> short
=> signed
=> sizeof
=> static
=> struct
=> switch
=> typedef
=> union
=> unsigned
=> void
=> volatile
=> while
Symbols => {}[]().=+-*/:;<>|&,~!^?
Strings => '"
Escape => \
OpenComment => /*
CloseComment => */
SingleLineComment =>
CommentColumn =>
NumberPrefix => 0X
=> 0x
OpenPreprocessor => #
ClosePreprocessor =>
LineContinuation => \
CaseSensitive => YES
Editor => b2.exe
}
Style C++ (.cpp .hpp .cxx .hxx) C
{
Reserved => class
=> delete
=> friend
=> inline
=> new
=> operator
=> private
=> protected
=> public
=> template
=> this
=> throw
=> try
=> catch
=> virtual
SingleLineComment => //
}
Style List2Style (.set) Base
{
TabWidth => 3
Reserved => Style
=> Reserved
=> SymbolsColor
=> CommentColor
=> StringColor
=> ReservedColor
=> PreprocessorColor
=> NumberColor
=> IdentColor
=> ForeGndColor
=> BackGndColor
=> SelectedForeGndColor
=> SelectedBackGndColor
=> StatusForeGndColor
=> StatusBackGndColor
=> BoldColor
=> UnderlineColor
=> BoldUnderlineColor
=> RegularExpressions
=> Sound
=> Strings
=> Symbols
=> Escape
=> OpenComment
=> CloseComment
=> SingleLineComment
=> CommentColumn
=> NumberPrefix
=> OpenPreprocessor
=> ClosePreprocessor
=> CaseSensitive
=> ExpandTabs
=> HighBitFilter
=> TextWithLayout
=> TabWidth
=> DisplayMode
=> TopLineFormat
=> ON
=> OFF
=> YES
=> NO
=> Text
=> Hex
=> Black
=> Blue
=> Green
=> Cyan
=> Red
=> Magenta
=> Brown
=> LightGray
=> DarkGray
=> LightBlue
=> LightGreen
=> LightCyan
=> LightRed
=> LightMagenta
=> Yellow
=> White
Symbols => >=(){}.
SingleLineComment => ;
CommentColumn =>
CaseSensitive => NO
Editor => b2.exe
}
Style Pascal (.pas .inc) Base
{
Reserved => AND
=> ARRAY
=> ASM
=> BEGIN
=> BOOLEAN
=> BYTE
=> CASE
=> CHAR
=> COMP
=> CONST
=> CONSTRUCTOR
=> DESTRUCTOR
=> DIV
=> DOUBLE
=> DOWNTO
=> DO
=> ELSE
=> END
=> EXIT
=> EXTENDED
=> EXTERNAL
=> FALSE
=> FILE
=> FORWARD
=> FOR
=> FUNCTION
=> GOTO
=> IF
=> IMPLEMENTATION
=> INTEGER
=> INTERFACE
=> IN
=> LABEL
=> LONGINT
=> MOD
=> NIL
=> NOT
=> OBJECT
=> OF
=> ORD
=> OR
=> PACKED
=> PRIVATE
=> PROCEDURE
=> PROGRAM
=> REAL
=> RECORD
=> REPEAT
=> SET
=> SHL
=> SHR
=> SHORTINT
=> SINGLE
=> STRING
=> THEN
=> TO
=> TRUE
=> TYPE
=> UNIT
=> UNTIL
=> USES
=> VAR
=> VIRTUAL
=> WHILE
=> WITH
=> WORD
=> XOR
Symbols => @().=*+-/[],<>:;
Strings => '
=> "
OpenComment => (*
=> {
CloseComment => *)
=> }
SingleLineComment =>
CommentColumn =>
NumberPrefix => $
=> #
OpenPreprocessor => {$
ClosePreprocessor => }
CaseSensitive => NO
Editor => b2.exe
}
Style BatchFile (.bat) Base
{
Reserved => SET
=> PROMPT
=> ECHO
=> IF
=> ON
=> OFF
=> DO
=> NOT
=> PATH
=> LOADHIGH
Symbols => @.[]$\/:
Strings => '
=> "
SingleLineComment => REM
CaseSensitive => NO
Editor => b2.exe
}
;------------------------------------oOo-----------------------------------
; (C) 1994 Warp Factor 7, All rights Reserved.
;------------------------------------oOo-----------------------------------