Hello, I was trying to use compose for desktop to turn the code viewer example into a code editor. Instead of many lines I used a multiline
BasicTextField
. However I ran into some serious performance issues. Is there a better way to write a basic code editor in compose?
k
Kirill Grouchnikov
10/11/2021, 12:27 AM
Serious code editors are heavily customized components that don't use the simpler toolkit editable text widgets. I don't think it's realistic to expect otherwise from compose as well
j
Jakob
10/11/2021, 12:54 AM
Thanks for the response. Maybe with a lot of time and effort you could write something using Skia. But I’ll stick to a JComponent for now.
z
Zach Klippenstein (he/him) [MOD]
10/12/2021, 2:30 AM
If you end up getting this working I'd love to see what you come up with.