{{ message }}
Conversation
Collaborator
Author
Contributor
I was assuming that the prefixes would specifically be "the part before the |
Collaborator
Author
lildude
requested changes
Jun 5, 2026
lildude
left a comment
Member
There was a problem hiding this comment.
samples/GtkRC/filenames/gtkrc is hoog.
lildude
approved these changes
Jun 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
This pull-request adds language support for the legacy GtkRC theming language, which was used to configure colours, styling, widget behaviour, and user keyboard bindings in GTK environments. Though the GtkRC format was deprecated in GTK-3 in favour of CSS, there are still countless
gtkrcfiles either being used for compatibility reasons, or lingering around in older codebases (of which you'll find many).Note that I've appropriated CodeMirror and ACE's Ruby-editing modes because they both do a decent job of highlighting GtkRC source:
Rubyfrom left-sidebar's Mode menu)Checklist
.gtkrc: ~206 search resultsgtkrc: ~7k search resultsgtkrc-2.0: ~1.4 search resultslambdacat.gtkrc: Source | BSD-3-Clausegeany.gtkrc: Source | GPL-2.0 licensedv9t9.gtkrc: Source | GPL-2.0 licensedfilenames/gtkrc: Source | GPL-2.1 licensedfilenames/gtkrc-2.0: Source | GPL-2.0 licensedincludedupdated a syntax highlighting grammar:Alhadis/language-etcwas bumped to9364a6ato pull in the GtkRC grammar (and a last-minute highlighting fix)#7FE719The GTK logo is a trichromatic cube coloured
#729FCF,#E40000, and#7FE719. I chose the green-coloured side because it's the most prominent visually, and is the only side facing the computer user.I have updated the heuristics.