godot_dialogue_manager icon indicating copy to clipboard operation
godot_dialogue_manager copied to clipboard

Dialogue parser thinks color codes are comments (Visual Only)

Open godofgrunts opened this issue 2 years ago • 1 comments

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.

godofgrunts avatar Jul 27 '22 15:07 godofgrunts

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 avatar Jul 28 '22 02:07 nathanhoad

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.

nathanhoad avatar Aug 27 '22 11:08 nathanhoad