https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
j

james

07/04/2022, 11:31 PM
I noticed in the Notepad CfD example the following comment on the usage of BasicTextField:
Copy code
// TextField isn't efficient for big text files, we use it for simplicity
does this still hold true? if so, is there a recommended strategy for building a custom TextField which can handle large amounts of text? I understand that saying “large” is fairly ambiguous, so let’s say “up to 10 MB” of pure text in short, I am curious if I will be able to achieve this by heavily customising BasicTextField, or if I will have to write something from scratch (since even CoreTextField is internal to compose.foundation.text)
2 Views