Emil Ernerfeldt
9fb83d3541
Use a selectable label for syntax-highlighted text in egui_extras
2024-01-22 14:47:58 +01:00
Emil Ernerfeldt
401de05630
Use `Self` everywhere ( #3787 )
...
This turns on the clippy lint
[`clippy::use_self`](https://rust-lang.github.io/rust-clippy/v0.0.212/index.html#use_self )
and fixes it everywhere.
2024-01-08 17:41:21 +01:00
Emil Ernerfeldt
9951fe0d36
Fix some clippy 1.75 lints ( #3754 )
2023-12-30 11:23:21 +01:00
Emil Ernerfeldt
6ba356d3d8
Replace `Id::null()` with `Id::NULL` ( #3544 )
...
Shorter and more idiomatic
2023-11-11 21:40:02 +01:00
Emil Ernerfeldt
e8986b1e59
egui_extras: syntax-highlighting of .toml ( #3388 )
2023-09-25 17:48:22 +02:00
Emil Ernerfeldt
e367c20779
`egui_extras`: always depend on `log` crate ( #3336 )
...
* egui_extras: always depend on `log` crate
* syntax_highlighting fix: "serde" is always on
* Add "serde" flag to egui when using egui_extras
2023-09-14 11:20:34 +02:00
Emil Ernerfeldt
5e785ae00a
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
2023-09-13 20:39:40 +02:00