-1

I'm making a small application which has a syntax highlight for SQL, by using TMS's TADvMemo and TAdvSQLMemoStyler components. I've changed the default LineComment ' property to -- to respect SQL comment syntax. The issue I have is that I can not make the component to display the strings from SQL as I want, highlighted:

enter image description here

Even I'm creating a new style on the SQLMemoStyler component:

enter image description here

Any idea on this?

Ken White
  • 123,280
  • 14
  • 225
  • 444
RBA
  • 12,337
  • 16
  • 79
  • 126
  • 1
    Ask TMS Support? It's free if you purchased the product, they have their own support forums, and they're much more familiar with their product. – Ken White Apr 08 '15 at 13:50
  • I agree that asking the vendor for support is a good idea and likely your best option, however I also believe that asking here should also be a valid place for questions related to 3rd party controls. I have seen many questions that get dismissed because of that exact reason when they should all be valid here as well. – Craig Apr 08 '15 at 23:30

1 Answers1

0

Solution is to set the Style's Style Type to stBracket instead of stKeyWord.

RBA
  • 12,337
  • 16
  • 79
  • 126