PavelTorgashov / FastColoredTextBox

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

How can I add a vertical (only) guideline/grid (vertical crosshair?) to TextBox/RichTextBox/FastColoredTextBox? #166

Closed nongcaro closed 5 years ago

nongcaro commented 5 years ago

I'd like to have a vertical guideline/grid for a textbox (FastColoredTextBox is what I'm looking for, but if the solution works for TextBox/RichTextBox too, then I can continue on myself).

I've found a horizontal one, but couldn't figure out how to make it vertical and more efficient (?).

If the solution works with FastColoredTextBox, then great. Because I'd like to connect it with my ruler?

Thanks.

Hexman768 commented 5 years ago

Can you post the code you found to create a horizontal guideline/grid?

nongcaro commented 5 years ago

This is not needed anymore.