Skip to content

GLSL language definition #12

@dyze

Description

@dyze

Hi,

For the need of my project (RaylibMaterial), I'd like to replace the standard ImGui multiline text edit by your wonderful control.

Your library already contains a definition of GLSL language, but this one looks totally wrong. So I've duplicated "CStyleHighlighter.cs" and started tweeking it:

My questions are:

  • is it the right approach?
  • CStyleHighlighter.cs contains a lot of function that looks useful for all languages (Colorize, Tokenize...). Is it efficient to duplicate all of them?
  • I have also noticed the use of SimpleTrie.cs, I had to copy it to my project because the class is declared as internal. Is it intended?

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions