C# Class NppSharp.LexerStyle

Defines a style for the lexer.
Notepad++ only allows a maximum of 32 styles per language to be defined.
Mostrar archivo Open project: cmrazek/NppSharp

Public Methods

Method Description
LexerStyle ( string name ) : System

Creates a new lexer style object.

LexerStyle ( string name, Color foreColor ) : System

Creates a new lexer style object.

LexerStyle ( string name, Color foreColor, Color backColor ) : System

Creates a new lexer style object.

LexerStyle ( string name, Color foreColor, Color backColor, FontStyle fontStyle ) : System

Creates a new lexer style object.

FontStyle.Strikeout is not functional within Notepad++

LexerStyle ( string name, Color foreColor, Color backColor, string fontName, FontStyle fontStyle ) : System

Creates a new lexer style object.

FontStyle.Strikeout is not functional within Notepad++

LexerStyle ( string name, Color foreColor, Color backColor, string fontName, FontStyle fontStyle, int fontSize ) : System

Creates a new lexer style object.

FontStyle.Strikeout is not functional within Notepad++

LexerStyle ( string name, Color foreColor, FontStyle fontStyle ) : System

Creates a new lexer style object.

FontStyle.Strikeout is not functional within Notepad++

LexerStyle ( string name, Color foreColor, string fontName, FontStyle fontStyle ) : System

Creates a new lexer style object.

FontStyle.Strikeout is not functional within Notepad++

LexerStyle ( string name, Color foreColor, string fontName, FontStyle fontStyle, int fontSize ) : System

Creates a new lexer style object.

FontStyle.Strikeout is not functional within Notepad++

Method Details

LexerStyle() public method

Creates a new lexer style object.
public LexerStyle ( string name ) : System
name string The name of the word style.
return System

LexerStyle() public method

Creates a new lexer style object.
public LexerStyle ( string name, Color foreColor ) : System
name string The name of the word style.
foreColor Color The foreground text color.
return System

LexerStyle() public method

Creates a new lexer style object.
public LexerStyle ( string name, Color foreColor, Color backColor ) : System
name string The name of the word style.
foreColor Color The foreground text color.
backColor Color The background text color.
return System

LexerStyle() public method

Creates a new lexer style object.
FontStyle.Strikeout is not functional within Notepad++
public LexerStyle ( string name, Color foreColor, Color backColor, FontStyle fontStyle ) : System
name string The name of the word style.
foreColor Color The foreground text color.
backColor Color The background text color.
fontStyle FontStyle The font style.
return System

LexerStyle() public method

Creates a new lexer style object.
FontStyle.Strikeout is not functional within Notepad++
public LexerStyle ( string name, Color foreColor, Color backColor, string fontName, FontStyle fontStyle ) : System
name string The name of the word style.
foreColor Color The foreground text color.
backColor Color The background text color.
fontName string The name of the font family.
fontStyle FontStyle The font style.
return System

LexerStyle() public method

Creates a new lexer style object.
FontStyle.Strikeout is not functional within Notepad++
public LexerStyle ( string name, Color foreColor, Color backColor, string fontName, FontStyle fontStyle, int fontSize ) : System
name string The name of the word style.
foreColor Color The foreground text color.
backColor Color The background text color.
fontName string The name of the font family.
fontStyle FontStyle The font style.
fontSize int The size of the font.
return System

LexerStyle() public method

Creates a new lexer style object.
FontStyle.Strikeout is not functional within Notepad++
public LexerStyle ( string name, Color foreColor, FontStyle fontStyle ) : System
name string The name of the word style.
foreColor Color The foreground text color.
fontStyle FontStyle The font style.
return System

LexerStyle() public method

Creates a new lexer style object.
FontStyle.Strikeout is not functional within Notepad++
public LexerStyle ( string name, Color foreColor, string fontName, FontStyle fontStyle ) : System
name string The name of the word style.
foreColor Color The foreground text color.
fontName string The name of the font family.
fontStyle FontStyle The font style.
return System

LexerStyle() public method

Creates a new lexer style object.
FontStyle.Strikeout is not functional within Notepad++
public LexerStyle ( string name, Color foreColor, string fontName, FontStyle fontStyle, int fontSize ) : System
name string The name of the word style.
foreColor Color The foreground text color.
fontName string The name of the font family.
fontStyle FontStyle The font style.
fontSize int The size of the font.
return System