Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8882
    Jibz
    Member

    To reproduce, create a C++ file with

    char *foo =
    "5" // 5
    "5" // 5
    ;

    Add a regexp highlight string of d+ (match digits).

    The 5 inside the string and comment in the first line are not highlighted, but in the second line (which starts with one space) they are.

    #8884
    Yutaka Emura
    Keymaster

    Hello Jibz,

    I am sorry but I couldn’t reproduce your issue. Did you add d+ as a regular expression at the bottom of the list of highlight strings in the Highlight (1) tab of C++ configuration properties?

    #8885
    Jibz
    Member

    Yes, I added it last with only Regular Expression ticked.

    I had added it with color number 8 to make it easy to spot, and now that I try again I can see it only does it when I select one of the colors with a background color in it (1, 8, 9 or 10).

    #8886
    Yutaka Emura
    Keymaster

    Hello Jibz,

    I reproduce the issue now by the way you described.
    I will look into this issue.
    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.