- From: Alex Keng <notifications@github.com>
- Date: Mon, 25 Oct 2021 15:41:08 -0700
- To: w3c/editing <editing@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 25 October 2021 22:41:21 UTC
@alexkeng commented on this pull request.
> + }
+
+ updateTextFormats(textFormats) {
+ this.textFormats = textFormats
+ }
+ }
+
+ class EditingView {
+ render() {
+ // render the text (implementation omitted for brevity)
+
+ // render the selection (implementation omitted for brevity)
+
+ // render the IME decoration
+ this.model.textFormats.forEach( textFormat => {
+ let lineStartX = anchorX + textFormat.rangeStart * charWidth;
sure! comment added
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/pull/355#discussion_r736017263
Received on Monday, 25 October 2021 22:41:21 UTC