Replies: 1 comment 3 replies
-
Just remove the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm writing a text editor and trying to implement syntax highlighting,
so I followed the example in the demo. It works there, so I thought it might be useful. But I am getting an error that
syntax_highlighting
is not found in the crate root. I have syntect and egui both installed at their latest versions and have themas dependencies.
In particular, it is these lines that raise the error that
syntax_highlighting
is not found in the crate root. In case it's useful, here is all my code:https://pastebin.com/mHDhLhSR
(do ignore the errors with
ScrollArea
, I have fixed those now.)I want to implement syntax highlighting to my egui application, but I get the error that
syntax_highlighting
is not found in the crate root, which the only example I found used.Beta Was this translation helpful? Give feedback.
All reactions