I have a Windows Form with a text-box, into which a user may write a Python script.
I'm using Scintilla in the form but I want its area to be a textbox. Is there any way I can bind Scintilla to a textbox?
Below is code I have tried:
this.scintilla2.ConfigurationManager.Language = "python";
this.scintilla2.Dock = System.Windows.Forms.DockStyle.Fill;
this.scintilla2.Location = new System.Drawing.Point(600, 430);
this.scintilla2.Name = "scintilla2";
this.scintilla2.TabIndex = 0;
this.Controls.Add(this.scintilla2);