If you want to contribute to the forum discussions, please
I'm using this control to display a 132 character line of text. The actual characters of the text fall between the lines of the ruler. I have a request to make the characters fall lined up with the lines of the ruler. So that character 10 falls underneath the line for 10 and not between the 10 and 11 lines? Is that posisble? Thanks!
Sure, it is possible. You only need to change the OnPaint()-method of the horizontal ruler.
You can find the code for the horizontal ruler in this file: DigitalRune.Windows.TextEditor\GUI\HRuler.cs
DigitalRune is a trademark of Garstenauer Information Technology OG.
Garstenauer Information Technology OG
Weingartenstrasse 35, 4452 Ternberg