[TxMt] Re: Set background color to new-line element

Umberto Cerrato umbertocerrato at outlook.it
Thu Oct 3 08:38:41 UTC 2019


Anyway, this is how it looks like. I have to choose a better color palette though!
[cid:FB06CE89-279E-4617-87A5-7508B1850FBB at home-life.hub]
Il giorno 3 ott 2019, alle ore 10:18, Umberto Cerrato <umbertocerrato at outlook.it<mailto:umbertocerrato at outlook.it>> ha scritto:

I made it. The working regex was:

match = '(?<=}).*\n';

Il giorno 2 ott 2019, alle ore 23:12, Umberto Cerrato <umbertocerrato at outlook.it<mailto: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<mailto:TextMate at lists.macromates.com>
https://lists.macromates.com/listinfo/textmate


_______________________________________________
TextMate mailing list
TextMate at lists.macromates.com<mailto:TextMate at lists.macromates.com>
https://lists.macromates.com/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macromates.com/textmate/attachments/20191003/9b087fef/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Schermata 2019-10-03 alle 10.31.57-800px.png
Type: image/png
Size: 40811 bytes
Desc: Schermata 2019-10-03 alle 10.31.57-800px.png
URL: <https://lists.macromates.com/textmate/attachments/20191003/9b087fef/attachment-0001.png>


More information about the TextMate mailing list