Vixen
dd8b0a81
csharp
public enum WordBreakMode

Whether a line may be broken inside a word. CSS Text 3 § 5.2's word-break.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ Not TextWrapMode under another name, however alike the two look. This one changes the set of break opportunities UAX#14 offers, before any width is known; that one decides what to do when none of them is narrow enough. So the two are read at different stages, they compose, and a single enum carrying both would have to pick a winner for word-break: keep-all; overflow-wrap: anywhere — a combination CSS defines and Korean text in a narrow column actually wants.

Fields and properties (3)

  • Normal

    UAX#14 decides, unaided. CSS's word-break: normal.

  • BreakAll

    Every letter offers a break. CSS's word-break: break-all.

  • KeepAll

    No break between two letters. CSS's word-break: keep-all.

Used by (9)

  • CssLineBreakTailoringTestsVixen.Ui.Text.Tests
  • CssWordBreakTailoringTestsVixen.Ui.Text.Tests
  • LineBreakRunVixen.Ui.Text
  • LineBreakerVixen.Ui.Text
  • LineWrapperVixen.Ui.Text
  • TextIndentTestsVixen.Ui.Text.Tests
  • UiDocumentVixen.Ui
  • UiElementVixen.Ui
  • WordBreakTestsVixen.Ui.Text.Tests