Posted 18 years ago
by Kevin Fournier
I am currently evaluating the latest SyntaxEditor, and I must say, I'm very excited about it. I currently have an editor written in MFC and am looking into porting/updating to .NET. My current editor is based on the Scintilla open source component, but I daresay that SyntaxEditor looks far more flexible and professional.
Still, I have a couple questions about functionality that I hope might be answered here. I did search the forums, but haven't found a clear yes/no answer.
1. Can I custom draw characters or tokens? My current editor works with propietary delimiters, which are custom drawn in order to really distinguish them from code/data. I realize this could be accomplished with unique styles, but I feel a nice custom drawn delimiter will add a professionally polished look.
2. Can I customize which character(s) represent line breaks using a callback or override? Again, my editor deals with delimiters. Sometimes, it's better to break the data up into lines using the delimiters for increased readability. The line breaks change based on the user expanding/contracting chunks of data, much like a tree control.
These are my only two questions. It appears that this wonderful control already offers me the ability to meet all my other goals--and then some. Currently, I have to modify the Scintilla scource to achieve things like custom line numbers, which hinders my ability to incorporate updates.
Thank you all in advance for any information.
Still, I have a couple questions about functionality that I hope might be answered here. I did search the forums, but haven't found a clear yes/no answer.
1. Can I custom draw characters or tokens? My current editor works with propietary delimiters, which are custom drawn in order to really distinguish them from code/data. I realize this could be accomplished with unique styles, but I feel a nice custom drawn delimiter will add a professionally polished look.
2. Can I customize which character(s) represent line breaks using a callback or override? Again, my editor deals with delimiters. Sometimes, it's better to break the data up into lines using the delimiters for increased readability. The line breaks change based on the user expanding/contracting chunks of data, much like a tree control.
These are my only two questions. It appears that this wonderful control already offers me the ability to meet all my other goals--and then some. Currently, I have to modify the Scintilla scource to achieve things like custom line numbers, which hinders my ability to incorporate updates.
Thank you all in advance for any information.