Replies: 1 comment 1 reply
-
|
Your guess is as good as mine here, honestly! :) I should probably note that the implementation of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was playing around with this today and couldn't come up with an idiomatic way to achieve this. Currently we follow a pattern like this:
Where we based the
xaxis off the width of whatever string is inside of yourParagraphWidget.text. This works until you hit the end of your block, then everything sort of falls apart because thewidthmethod onGraphemeknows nothing about whether or not you're usingWrap, and also theydoesn't take that into account either since we're just doing a+ 1there.Am I maybe missing an idiomatic way to do this where you have multi-line input? Or do you have any ideas what we could adjust to make this work to ensure the cursor is where it needs to be in multi-line input?
Beta Was this translation helpful? Give feedback.
All reactions