Commit 19748d8b authored by JoyJ's avatar JoyJ

use nuget FCTB

parent ca2470a7
......@@ -17,7 +17,7 @@ public class FastColoredTextBoxEx : FastColoredTextBox
Point lastMouseCoord;
public FastColoredTextBoxEx() : base()
{
this.SyntaxHighlighter = new MySyntaxHighlighter();
this.SyntaxHighlighter = new MySyntaxHighlighter(this);
this.TextChanged += this.FctbTextChanged;
this.ToolTipDelay = 1;
this.DelayedEventsInterval = 1;
......
......@@ -23,6 +23,10 @@ public class MySyntaxHighlighter : SyntaxHighlighter
readonly TextStyle mFunStyle = new TextStyle(Brushes.LightGray, null, FontStyle.Bold);
readonly TextStyle mErrorStyle = new TextStyle(Brushes.Red, null, FontStyle.Bold);
public MySyntaxHighlighter(FastColoredTextBox currentTb) : base(currentTb)
{
}
/// <summary>
/// Highlights Lua code
/// </summary>
......
......@@ -59,8 +59,8 @@
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll</HintPath>
</Reference>
<Reference Include="FastColoredTextBox">
<HintPath>DLL\FastColoredTextBox.dll</HintPath>
<Reference Include="FastColoredTextBox, Version=2.16.24.0, Culture=neutral, PublicKeyToken=fb8aa12b994ef61b, processorArchitecture=MSIL">
<HintPath>..\packages\FCTB.2.16.24\lib\FastColoredTextBox.dll</HintPath>
</Reference>
<Reference Include="Microsoft.VisualBasic" />
<Reference Include="Newtonsoft.Json">
......
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="EntityFramework" version="6.4.4" targetFramework="net46" />
<package id="FCTB" version="2.16.24" targetFramework="net46" />
<package id="System.Data.SQLite" version="1.0.113.1" targetFramework="net46" />
<package id="System.Data.SQLite.Core" version="1.0.113.1" targetFramework="net46" />
<package id="System.Data.SQLite.EF6" version="1.0.113.0" targetFramework="net46" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment