aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs
diff options
context:
space:
mode:
authorMichaelTheShifter <[email protected]>2016-07-19 21:53:26 -0400
committerMichaelTheShifter <[email protected]>2016-07-19 21:53:26 -0400
commit6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9 (patch)
treed7bc4b46c45a552add946666151d44490f3b3caf /source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs
parent9322701aa1eae9596a8586ef19a0fe1d1b3ab66b (diff)
downloadshiftos-c--6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9.tar.gz
shiftos-c--6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9.tar.bz2
shiftos-c--6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9.zip
Full ShiftUI conversion
The only bugs are that windows don't show in the center of the screen, and Gecko webbrowsers are not serializing properly to be converted to ShiftUI widgets (you can use the ToWidget() extension method to convert a WinForms control to a ShiftUI widget) Also multiple desktop panels are removed due to some odd bug I can't diagnose. Will add them back in the future. Promise. I loved creating GNOME2 skins.
Diffstat (limited to 'source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs')
-rw-r--r--source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs b/source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs
index d973303..8a5e123 100644
--- a/source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs
+++ b/source/WindowsFormsApplication1/Controls/SyntaxHighlighter.cs
@@ -4,14 +4,14 @@ using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
-using System.Windows.Forms;
+using ShiftUI;
using System.ComponentModel;
using System.Text.RegularExpressions;
using System.Drawing;
namespace ShiftOS
{
- public class SyntaxRichTextBox : System.Windows.Forms.RichTextBox
+ public class SyntaxRichTextBox : ShiftUI.RichTextBox
{
private SyntaxSettings m_settings = new SyntaxSettings();
private static bool m_bPaint = true;
@@ -35,7 +35,7 @@ namespace ShiftOS
/// WndProc
/// </summary>
/// <param name="m"></param>
- protected override void WndProc(ref System.Windows.Forms.Message m)
+ protected override void WndProc(ref ShiftUI.Message m)
{
if (m.Msg == 0x00f)
{