ImGuiColorTextEdit icon indicating copy to clipboard operation
ImGuiColorTextEdit copied to clipboard

only check for comments if the language definition has `mCommentStart`

Open bb1950328 opened this issue 2 years ago • 0 comments

If I don't define mCommentStart in my LanguageDefinition, everything is marked as comment. This PR fixes that by checking if mCommentStart is not empty.

(also simplified x == false to !x)

bb1950328 avatar Aug 03 '23 19:08 bb1950328