Problem in language injection into string literals

Hi everybody,

I'm having a problem with the language injection in my custom language.

When I inject some language in a string literal of my language throgh the editor I obtain this:

After patch: doc:
         'animal'
         ---PSI:
         ''
         ---chars:
         'animal'.
         Language: JSON;
         Host file: Main in 'XXXXX/Main.tara'
         Context element (338,346): 'TaraStringValueImpl(STRING_VALUE)'; Ranges: [Shred (338,346): TaraStringValueImpl(STRING_VALUE) In host range: (339,345); PSI

animal is the text inside quotes.

It occurs with any language I've tried to inject.

Could anyone say me the reason?


Thanks!

---
Original message URL: https://devnet.jetbrains.com/message/5542946#5542946

0

Please sign in to leave a comment.