NEU
This commit is contained in:
26
FastColoredTextBox/Char.cs
Normal file
26
FastColoredTextBox/Char.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
|
||||
namespace FastColoredTextBoxNS
|
||||
{
|
||||
/// <summary>
|
||||
/// Char and style
|
||||
/// </summary>
|
||||
public struct Char
|
||||
{
|
||||
/// <summary>
|
||||
/// Unicode character
|
||||
/// </summary>
|
||||
public char c;
|
||||
/// <summary>
|
||||
/// Style bit mask
|
||||
/// </summary>
|
||||
/// <remarks>Bit 1 in position n means that this char will rendering by FastColoredTextBox.Styles[n]</remarks>
|
||||
public StyleIndex style;
|
||||
|
||||
public Char(char c)
|
||||
{
|
||||
this.c = c;
|
||||
style = StyleIndex.None;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user