1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 14:50:03 -04:00

Add syntax highlighing feature to egui_extras (#3333)

* Add syntax highlighing feature to egui_extras

Enable "syntect" feature for great syntax highlighting of any language.

If not a simple fallback is used that works fine for C++, Rust, Python

* Check --no-default-features of egui_extras on CI

* spelling

* Fix building egui_extras without additional features
This commit is contained in:
Emil Ernerfeldt
2023-09-13 20:39:40 +02:00
committed by GitHub
parent 4b5146d35d
commit 5e785ae00a
15 changed files with 307 additions and 98 deletions

4
Cargo.lock generated
View File

@@ -1238,10 +1238,8 @@ dependencies = [
"egui",
"egui_extras",
"egui_plot",
"enum-map",
"log",
"serde",
"syntect",
"unicode_names2",
]
@@ -1253,12 +1251,14 @@ dependencies = [
"document-features",
"egui",
"ehttp",
"enum-map",
"image",
"log",
"mime_guess",
"puffin",
"resvg",
"serde",
"syntect",
"tiny-skia",
"usvg",
]