I have a Windows form with a text box in which the user can write a Python script.
I use Scintilla in the form, but I want its area to be a text box. Can I associate Scintilla with a text box?
Below is the code I 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);
source share