PavelTorgashov / FastColoredTextBox

Fast Colored TextBox for Syntax Highlighting. The text editor component for .NET.
Other
1.21k stars 463 forks source link

.Net Core Support #178

Closed furesoft closed 4 years ago

furesoft commented 4 years ago

Pls enable .Net Core 3.0 Support

k3ldar commented 4 years ago

Need this also please :-)

PavelTorgashov commented 4 years ago

For now WinForms .NET Core designer does not support UserControl designer and does not show usercontrols in toolbar. However you can create FCTB from code. To do it, just add assembly FastColoredTextBox.dll to project dependencies: Скриншот 2019-11-02 18 58 01

And then create FCTB from code:

using System;
using System.Windows.Forms;

namespace WindowsFormsApp1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();

            var fctb = new FastColoredTextBoxNS.FastColoredTextBox();
            fctb.Parent = this;
            fctb.Dock = DockStyle.Fill;
        }
    }
}
flier268 commented 4 years ago

211