forked from jacobslusser/ScintillaNET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLexer.cs
More file actions
69 lines (58 loc) · 1.9 KB
/
Lexer.cs
File metadata and controls
69 lines (58 loc) · 1.9 KB
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
61
62
63
64
65
66
67
68
69
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ScintillaNET
{
/// <summary>
/// Specifies the lexer to use for syntax highlighting in a <see cref="Scintilla" /> control.
/// </summary>
public enum Lexer
{
/// <summary>
/// Lexing is performed by the <see cref="Scintilla" /> control container (host) using
/// the <see cref="Scintilla.StyleNeeded" /> event.
/// </summary>
Container = NativeMethods.SCLEX_CONTAINER,
/// <summary>
/// No lexing should be performed.
/// </summary>
Null = NativeMethods.SCLEX_NULL,
/// <summary>
/// The Python language lexer.
/// </summary>
Python = NativeMethods.SCLEX_PYTHON,
/// <summary>
/// The C language family (C++, C, C#, Java, JavaScript, etc...) lexer.
/// </summary>
Cpp = NativeMethods.SCLEX_CPP,
/// <summary>
/// The Cascading Style Sheets (CSS, SCSS) lexer.
/// </summary>
Css = NativeMethods.SCLEX_CSS,
/// <summary>
/// The Blitz (Blitz3D, BlitzMax, etc...) variant of Basic lexer.
/// </summary>
BlitzBasic = NativeMethods.SCLEX_BLITZBASIC,
/// <summary>
/// The Extensible Markup Language (XML) lexer.
/// </summary>
Xml = NativeMethods.SCLEX_XML,
/// <summary>
/// The Structured Query Language (SQL) lexer.
/// </summary>
Sql = NativeMethods.SCLEX_SQL,
/// <summary>
/// The Markdown syntax lexer.
/// </summary>
Markdown = NativeMethods.SCLEX_MARKDOWN,
/// <summary>
/// The R programming language lexer.
/// </summary>
R = NativeMethods.SCLEX_R,
/// <summary>
/// The Lua scripting language lexer.
/// </summary>
Lua = NativeMethods.SCLEX_LUA
}
}