mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +00:00
LibWeb: Implement first draft of CSS syntax highlighting :^)
This works at the Token level, which is quick and easy but has drawbacks: We don't know when something is a property name or a value, or if something is part of a selector. But, this works for now.
This commit is contained in:
parent
ecf5368535
commit
38f6140159
4 changed files with 191 additions and 0 deletions
|
@ -16,6 +16,7 @@ namespace Syntax {
|
|||
|
||||
enum class Language {
|
||||
Cpp,
|
||||
CSS,
|
||||
GML,
|
||||
HTML,
|
||||
INI,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue