Hi,
Is there an Infragistics component that supports line numbers? (e.g. for source code editing). I have looked through the forum and API docs but did not anything.
So, I guess, I could do something with a DrawFilter on a TextEditor. Does someone have another idea?
Regards,Reto
No, there is no component that does that. Note that the IUIElementDrawFilter solution will not work when the UltraTextEditor is in edit mode, because in that case a TextBox will be present. It is theoretically possible (I think) to draw characters onto the TextBox using windows messages, but I can't imagine that would be a trivial undertaking.
Hi guys,
I'm sorry to resume such an old post.
Since I'm having the same problem (I'm trying to display line numbers inside a text editor)...I was wondering if something is changed now, maybe one of your controls supports this feature natively now? If not...do you have any suggestion on how to implement this feature in a way that works the best with your controls?
I'm actually using an 'UltraFormattedTextEditor' control since I also need to handle other features like text colors (Infragistics vers. 16.1)
Many Thanks in advance.
Regards,
Davide.