C# Класс NppSharp.LexerStyle

Defines a style for the lexer.
Notepad++ only allows a maximum of 32 styles per language to be defined.
Показать файл Открыть проект

Открытые методы

Метод Описание
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++

Описание методов

LexerStyle() публичный Метод

Creates a new lexer style object.
public LexerStyle ( string name ) : System
name string The name of the word style.
Результат System

LexerStyle() публичный Метод

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.
Результат System

LexerStyle() публичный Метод

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.
Результат System

LexerStyle() публичный Метод

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.
Результат System

LexerStyle() публичный Метод

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.
Результат System

LexerStyle() публичный Метод

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.
Результат System

LexerStyle() публичный Метод

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.
Результат System

LexerStyle() публичный Метод

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.
Результат System

LexerStyle() публичный Метод

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.
Результат System