-
-
Notifications
You must be signed in to change notification settings - Fork 757
Closed
Labels
Milestone
Description
Operating System
- Windows
- macOS
- Linux
- FreeBSD
- OpenBSD
- Android
- iOS
- Nintendo Switch
- PlayStation 5
- Xbox
- Web Browsers
What feature would you like to be added?
The current APIs treat string objects:
func (f *Field) SetTextAndSelection(text string, selectionStartInBytes, selectionEndInBytes int)
func (f *Field) Text() string
func (f *Field) TextForRendering() stringThis is inefficient especially when this handles pretty big text.
We might need APIs to handle byte slices (e.g. AppendText(bytes []byte) []byte). Also, the implementation can be a more efficient one, like a piece table.
Why is this needed?
In order to handle big texts.
Reactions are currently unavailable