nathanhoad / godot_dialogue_manager

A powerful nonlinear dialogue system for Godot
MIT License
2.22k stars 170 forks source link

Dialogue parser thinks color codes are comments (Visual Only) #68

Closed godofgrunts closed 2 years ago

godofgrunts commented 2 years ago

Describe the bug When using [color] codes with a hex value, the Dialogue parser thinks the rest of the line is a comment.

To Reproduce

  1. Create a Dialogue line with a hexcode color bbcode like so: [color=#ed81d2]Lana: [color=#ed81d2] How are you?

Expected behavior The Dialogue parser would understand that this isn't a comment.

Screenshots image

This is very low priority, everything runs fine, it just looks strange.

nathanhoad commented 2 years ago

Unfortunately I don't have a huge amount of control over how the highlighter works. Things are better in Godot 4 so hopefully I can fix it then.

nathanhoad commented 2 years ago

While Godot 4 does add more control over a few highlighting things it doesn't seem to add as much control as I'd like. I'll close this issue for now but reopen it if Godot eventually adds enough highlighting options to make this more possible.