You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A-inputA-layout/2020https://github.com/servo/servo/wiki/Layout-2020C-assignedThere is someone working on resolving the issue
well, using the arrow keys (at least on linux) moves the insertion point as expected, as well as the selection range when you hit [shift] with the arrows.
Slightly related as I figure implementing caret should require this as well.
@jdm may I ask how text layout was done currently? I'm trying to retrieve the bound of a given character inside a single Text element and I haven't found anything as of now. Similarly is it possible to retrieve the bound of a give character inside a single HTMLTextAreaElement or HTMLInputElement? If this doable I'm guessing text selection, caret rendering, and a more closely aligned IME cursor area should all be able to be implemented.
Slightly related as I figure implementing caret should require this as well.
@jdm may I ask how text layout was done currently? I'm trying to retrieve the bound of a given character inside a single Text element and I haven't found anything as of now. Similarly is it possible to retrieve the bound of a give character inside a single HTMLTextAreaElement or HTMLInputElement? If this doable I'm guessing text selection, caret rendering, and a more closely aligned IME cursor area should all be able to be implemented.
Slightly related as I figure implementing caret should require this as well.
@jdm may I ask how text layout was done currently? I'm trying to retrieve the bound of a given character inside a single Text element and I haven't found anything as of now. Similarly is it possible to retrieve the bound of a give character inside a single HTMLTextAreaElement or HTMLInputElement? If this doable I'm guessing text selection, caret rendering, and a more closely aligned IME cursor area should all be able to be implemented.
I don't know the answer for the current layout engine. If we reused the IndexableText implementation for layout 2020 it would be easy to answer those questions.
@JoshuaBrest are you're still actively working on implementing caret? If not I think I have some time to implement it over the next few days.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
dklassic left a comment (servo/servo#33237)
@JoshuaBrest are you're still actively working on implementing caret? If not I think I have some time to implement it over the next few days.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
A-inputA-layout/2020https://github.com/servo/servo/wiki/Layout-2020C-assignedThere is someone working on resolving the issue
Activity
mrobinson commentedon Aug 28, 2024
And currently right now there is no insertion cursor at all. 😅
webbeef commentedon Aug 28, 2024
well, using the arrow keys (at least on linux) moves the insertion point as expected, as well as the selection range when you hit
[shift]with the arrows.jdm commentedon Feb 12, 2025
servo/components/layout/display_list/builder.rs
Lines 1362 to 1407 in cf3ad2d
JoshBashed commentedon Feb 20, 2025
@servo-highfive assign me
servo-highfive commentedon Feb 20, 2025
Hey @JoshuaBrest! Thanks for your interest in working on this issue. It's now assigned to you!
dklassic commentedon Feb 24, 2025
Slightly related as I figure implementing caret should require this as well.
@jdm may I ask how text layout was done currently? I'm trying to retrieve the bound of a given character inside a single
Textelement and I haven't found anything as of now. Similarly is it possible to retrieve the bound of a give character inside a singleHTMLTextAreaElementorHTMLInputElement? If this doable I'm guessing text selection, caret rendering, and a more closely aligned IME cursor area should all be able to be implemented.JoshBashed commentedon Feb 24, 2025
I’m working on this at the moment.
dklassic commentedon Feb 24, 2025
I'm not looking into doing anything caret related, but if you have any insight I'm all ears.
jdm commentedon Feb 26, 2025
I don't know the answer for the current layout engine. If we reused the IndexableText implementation for layout 2020 it would be easy to answer those questions.
JoshBashed commentedon Mar 4, 2025
@servo-highfive unassign me
dklassic commentedon Mar 6, 2025
@JoshuaBrest are you're still actively working on implementing caret? If not I think I have some time to implement it over the next few days.
JoshBashed commentedon Mar 6, 2025
feat: Implement display for text selection and caret (#35830)
paint: Add support for a blinking text caret (#43128)