Description
If you use multi-line form for characters or something, the syntax highlighting stops working even though it does recognize that it is a PC entity
Steps to Reproduce
- Create a lonelog code block
- Paste this into it:
[PC:Jonah
| trait: friendly, curious
| status: wounded
| stat: HP 8, Stress 2
]
Expected Behavior
Everything between the square brackets should be highlighted
Actual Behavior
Nothing is highlighted. Or, if you paste something else, like this:
gen: NPC
| Name: d%=48, 29 -> Hirsham Cortina
| Role: d%=6 -> Bandit
| Descriptor: d%=9 -> Clever
| Goal: d%=50 -> Rebel against power
=> [N:Hirsham Cortina|Clever bandit|Wants to invade Highwatch]
The first and last lines are highlighted but none of the ones in between are.
Environment
- OS: MacOS
- Python version: 3.13.1
- lonelog version: 1.4.8
Additional Context
https://imgur.com/lyECrXR
https://imgur.com/wcZBsw9
Description
If you use multi-line form for characters or something, the syntax highlighting stops working even though it does recognize that it is a PC entity
Steps to Reproduce
[PC:Jonah
| trait: friendly, curious
| status: wounded
| stat: HP 8, Stress 2
]
Expected Behavior
Everything between the square brackets should be highlighted
Actual Behavior
Nothing is highlighted. Or, if you paste something else, like this:
gen: NPC
| Name: d%=48, 29 -> Hirsham Cortina
| Role: d%=6 -> Bandit
| Descriptor: d%=9 -> Clever
| Goal: d%=50 -> Rebel against power
=> [N:Hirsham Cortina|Clever bandit|Wants to invade Highwatch]
The first and last lines are highlighted but none of the ones in between are.
Environment
Additional Context
https://imgur.com/lyECrXR
https://imgur.com/wcZBsw9