Modal text wrapping changes style settings #26

Closed
opened 2020-06-19 18:02:38 +00:00 by makeworld-the-better-one · 2 comments
makeworld-the-better-one commented 2020-06-19 18:02:38 +00:00 (Migrated from gitlab.com)

Screenshot_2020-06-19_13-59-27

As can be seen in the photo, when the word gemini is wrapped, part of it's style tag is wrapped too, revealing the other part of it. This doesn't happen when the total text is shorter, so the word isn't wrapped.

The real text was:

Only [::b]gemini[::-] and [::b]http[::-] are...
![Screenshot_2020-06-19_13-59-27](/uploads/b88e4b4c5fcf1144eeece5f1db3f7faf/Screenshot_2020-06-19_13-59-27.png) As can be seen in the photo, when the word `gemini` is wrapped, part of it's style tag is wrapped too, revealing the other part of it. This doesn't happen when the total text is shorter, so the word isn't wrapped. The real text was: ``` Only [::b]gemini[::-] and [::b]http[::-] are... ```
makeworld-the-better-one commented 2020-06-22 00:32:49 +00:00 (Migrated from gitlab.com)

In addition, I've had issues when the modal text starts with a bolded word. The beginning got cut off, and many extra words were bolded.

In addition, I've had issues when the modal text starts with a bolded word. The beginning got cut off, and many extra words were bolded.
makeworld-the-better-one commented 2020-07-02 16:10:47 +00:00 (Migrated from gitlab.com)

I've also had an issue with wrapping a long line made italic: [::i]long line text here[::-]. cview.WordWrap started making newlines in the middle of words. My workaround was to wrap the line first, then add italic markers to each line. Maybe these issues are related? Let me know if I should file a separate one.

I've also had an issue with wrapping a long line made italic: `[::i]long line text here[::-]`. `cview.WordWrap` started making newlines in the middle of words. My workaround was to wrap the line first, then add italic markers to each line. Maybe these issues are related? Let me know if I should file a separate one.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tslocum/cview#26
There is no content yet.