Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
XamSyntaxEditor - controlling tooltip text
posted

How do we control the tooltip text as shown in the example below?  Thanks

Parents
  • 18204
    Verified Answer
    Offline posted

    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.

    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.

Reply Children
No Data