Questions tagged [fctb]

Questions concerning the Fast Colored Text Box sofware library.

5 questions
1
vote
0 answers

Roslyn integration with fastcoloredtextbox to get syntax errors of c#

Im currently making a lightweight c#,vb ide,does anyone know how i can do c#,vb code completion and c#,vb code fixing in fastcoloredtextbox with roslyn? QUESTION: how can i get syntax errors dynamicaly from fctb text,and how i can get like ways of…
Byte
  • 55
  • 11
0
votes
1 answer

FastColoredTextBox: How add large text - similar to StringBuilder but using styles - and without building undo history

FastColoredTextBox (FCTB) does provide StringBuilder-like methods, for example there is public virtual void AppendText(string text, Style style) and similar methods. However, it treats each of these as user input: each action is added to the undo…
Kay Zed
  • 1,304
  • 2
  • 21
  • 31
0
votes
1 answer

How to remove all the markers in FCTB (Fast color Text Box) Quickly?

I am using below code to remove the markers on a tab , but it is taking a while to clear them for a long page. Can somebody please suggest a faster way. int iRows = ft.CurrentTB.LineInfos.Count; for (int i = 1; i <= iRows; i++) { …
Jaskaran
  • 320
  • 5
  • 19
0
votes
1 answer

how to color one word of text in a FCTB (Fast Color Text Box)

I can create a Fast Color Text Box in C# and add text to it easily: FastColoredTextBox tb = new FastColoredTextBox(); this.Controls.Add(tb); tb.Location = new Point(10, 10); tb.Visible = true; tb.Text = "This is some text to display in the…
Mark T
  • 3,464
  • 5
  • 31
  • 45
-1
votes
1 answer

How do i save a file in fastcoloredtextbox?

I'm developing a syntax editor in C# where you can write code in the FastColoredTextBox component, then saving it as a .html file. However, I have the code for the Save As option. The only problem I have is when the user saves the .html file, the…
Robin
  • 127
  • 10