Commit 19748d8b authored by JoyJ's avatar JoyJ

use nuget FCTB

parent ca2470a7
...@@ -17,7 +17,7 @@ public class FastColoredTextBoxEx : FastColoredTextBox ...@@ -17,7 +17,7 @@ public class FastColoredTextBoxEx : FastColoredTextBox
Point lastMouseCoord; Point lastMouseCoord;
public FastColoredTextBoxEx() : base() public FastColoredTextBoxEx() : base()
{ {
this.SyntaxHighlighter = new MySyntaxHighlighter(); this.SyntaxHighlighter = new MySyntaxHighlighter(this);
this.TextChanged += this.FctbTextChanged; this.TextChanged += this.FctbTextChanged;
this.ToolTipDelay = 1; this.ToolTipDelay = 1;
this.DelayedEventsInterval = 1; this.DelayedEventsInterval = 1;
......
...@@ -23,6 +23,10 @@ public class MySyntaxHighlighter : SyntaxHighlighter ...@@ -23,6 +23,10 @@ public class MySyntaxHighlighter : SyntaxHighlighter
readonly TextStyle mFunStyle = new TextStyle(Brushes.LightGray, null, FontStyle.Bold); readonly TextStyle mFunStyle = new TextStyle(Brushes.LightGray, null, FontStyle.Bold);
readonly TextStyle mErrorStyle = new TextStyle(Brushes.Red, null, FontStyle.Bold); readonly TextStyle mErrorStyle = new TextStyle(Brushes.Red, null, FontStyle.Bold);
public MySyntaxHighlighter(FastColoredTextBox currentTb) : base(currentTb)
{
}
/// <summary> /// <summary>
/// Highlights Lua code /// Highlights Lua code
/// </summary> /// </summary>
......
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> <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> <HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll</HintPath>
</Reference> </Reference>
<Reference Include="FastColoredTextBox"> <Reference Include="FastColoredTextBox, Version=2.16.24.0, Culture=neutral, PublicKeyToken=fb8aa12b994ef61b, processorArchitecture=MSIL">
<HintPath>DLL\FastColoredTextBox.dll</HintPath> <HintPath>..\packages\FCTB.2.16.24\lib\FastColoredTextBox.dll</HintPath>
</Reference> </Reference>
<Reference Include="Microsoft.VisualBasic" /> <Reference Include="Microsoft.VisualBasic" />
<Reference Include="Newtonsoft.Json"> <Reference Include="Newtonsoft.Json">
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="EntityFramework" version="6.4.4" targetFramework="net46" /> <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" 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.Core" version="1.0.113.1" targetFramework="net46" />
<package id="System.Data.SQLite.EF6" version="1.0.113.0" 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