title: c# - perfect syntax highlighting
body: <p>I'm looking for a RichTextBox with syntax highlighting!
  Sounds easy but I'm searching since months and didn't find that what I need.</p>
  
  <p>First I started to do it by myself... No good idea...</p>
  
  <p>I tried to use this:
  <a href="http://blogs.microsoft.co.il/blogs/tamir/archive/2006/12/14/RichTextBox-syntax-highlighting.aspx" rel="noreferrer">http://blogs.microsoft.co.il/blogs/tamir/archive/2006/12/14/RichTextBox-syntax-highlighting.aspx</a></p>
  
  <p>but that code don't handle loading files or pasting so i started to write a highlight function for inserting text-blocks. That tutorial and my code worked fine first, but then I saw a lot of tiny bugs and loading large files took too much time.</p>
  
  <p>Then a found a lot of similar tutorials/codes at codeproject.com like this:
  <a href="http://www.codeproject.com/KB/edit/SyntaxHighlighting.aspx" rel="noreferrer">http://www.codeproject.com/KB/edit/SyntaxHighlighting.aspx</a></p>
  
  <p>But there I get problems if the file becomes large, too. Pasting and loading files will take a while...</p>
  
  <p>I think I'm searching for something like this:
  <a href="http://www.aqistar.com/" rel="noreferrer">http://www.aqistar.com/</a></p>
  
  <p>But I don't can spent money and I want to sell my program maybe so the code/control should be free.</p>
  
  <p>Can anybody help me?</p>