[TxMt] Re: Set background color to new-line element
Umberto Cerrato
umbertocerrato at outlook.it
Thu Oct 3 08:18:20 UTC 2019
I made it. The working regex was:
match = '(?<=}).*\n';
> Il giorno 2 ott 2019, alle ore 23:12, Umberto Cerrato <umbertocerrato at outlook.it> ha scritto:
>
> Hello,
>
> I would like to change the highlighted part to the same (pink) color of the rest.
> What I have tried by now (all day) is by adding a new grammar and then change the color in the theme.
>
> I tried many things like this one:
>
> {
> name = 'meta.new-line';
> match = '\}\n.’;
> }
>
> <1.png>
> <2.png>
>
> Anyway, finally my idea is to make each block ( {...} ) of a different color.
>
> _______________________________________________
> TextMate mailing list
> TextMate at lists.macromates.com
> https://lists.macromates.com/listinfo/textmate
More information about the TextMate
mailing list