How do we control the tooltip text as shown in the example below? Thanks
Thank you
Hello,
Thank you for posting in our forums!
Those error strings are stored in resx files. You can override the resource strings using the Infragistics.Documents.TextDocument.RegisterResources() method.
Infragistics.Documents.TextDocument.RegisterResources()
The particular string you are pointing out in the screenshot is using the key: Diagnostic_Error_UnexpectedToken
Below are other some other strings you may want to change:
<data name="Diagnostic_Error_Expected" xml:space="preserve"> <value>{0} expected</value> </data> <data name="Diagnostic_Error_ErrorNonTerminal" xml:space="preserve"> <value>{0} is not correct</value> </data> <data name="Diagnostic_Error_UnexpectedToken" xml:space="preserve"> <value>Unexpected token '{0}'</value> </data> <data name="Diagnostic_Error_UnrecognizedContent" xml:space="preserve"> <value>Unrecognized content: '{0}'</value> </data>
If you have any further questions or concerns with this, please let me know and I will be glad to help.