Skip to content

GLSL language definition #12

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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