better example case.
This commit is contained in:
parent
baa94c2f6f
commit
fff84ab363
1 changed files with 5 additions and 1 deletions
|
@ -7,7 +7,11 @@ struct HelloWorld {}
|
|||
|
||||
impl Render for HelloWorld {
|
||||
fn render(&mut self, _window: &mut Window, _cx: &mut Context<Self>) -> impl IntoElement {
|
||||
let text = "The longest word 你好世界这段是中文,こんにちはこの段落は日本語です in any of the major English language dictionaries is thisisalonglongpart/ofslash/thisshould/wrap/pneumonoultramicroscopicsilicovolcanoconiosis, a word that refers to a lung disease contracted from the inhalation of very fine silica particles, specifically from a volcano; medically, it is the same as silicosis.";
|
||||
let text = "The longest word 你好世界这段是中文,こんにちはこの段落は日本語です in any of the major \
|
||||
English language dictionaries is pneumonoultramicroscopicsilicovolcanoconiosis, a word that \
|
||||
refers to a lung disease contracted from the inhalation of very fine silica particles, \
|
||||
a url https://github.com/zed-industries/zed/pull/35724?query=foo&bar=2, \
|
||||
specifically from a volcano; medically, it is the same as silicosis.";
|
||||
div()
|
||||
.id("page")
|
||||
.size_full()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue