From af3a87ef16e2f4df9fa01a89fd709125c91188d6 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Sat, 24 Feb 2018 11:51:12 +0100 Subject: change namespace of CrowIDE to Crow.Coding, move editor source inside, crowIde wip --- CrowIDE/src/SourceEditor/TextFormatting.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 CrowIDE/src/SourceEditor/TextFormatting.cs (limited to 'CrowIDE/src/SourceEditor/TextFormatting.cs') diff --git a/CrowIDE/src/SourceEditor/TextFormatting.cs b/CrowIDE/src/SourceEditor/TextFormatting.cs new file mode 100644 index 00000000..f7b2e518 --- /dev/null +++ b/CrowIDE/src/SourceEditor/TextFormatting.cs @@ -0,0 +1,19 @@ +using System; + +namespace Crow.Coding +{ + public struct TextFormatting { + public Color Foreground; + public Color Background; + public bool Bold; + public bool Italic; + + public TextFormatting(Color fg, Color bg, bool bold = false, bool italic = false){ + Foreground = fg; + Background = bg; + Bold = bold; + Italic = italic; + } + } +} + -- cgit v1.3.1-4-g156e