mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
remove extra scopes
This commit is contained in:
parent
ffb6929bec
commit
584d85d434
1 changed files with 4 additions and 3 deletions
|
|
@ -50,9 +50,10 @@ impl Text for gtk::Box {
|
||||||
form.buffer().connect_changed({
|
form.buffer().connect_changed({
|
||||||
let control = control.clone();
|
let control = control.clone();
|
||||||
move |this| {
|
move |this| {
|
||||||
control.update(this.char_count(), {
|
control.update(
|
||||||
this.text(&this.start_iter(), &this.end_iter(), true).len()
|
this.char_count(),
|
||||||
})
|
this.text(&this.start_iter(), &this.end_iter(), true).len(),
|
||||||
|
)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue