fn len(&self, ctx: &mut Context) -> usize {
        TextBlock::text_ref(&ctx.get_widget(self.text_block))
            .chars()
            .count()
    }
// gets the len of the text
gets the len of the text
gets the len of the text
fn len(&self, ctx: &mut Context) -> usize {
        TextBlock::text_ref(&ctx.get_widget(self.text_block))
            .chars()
            .count()
    }
fn len ( & self , ctx : & mut Context ) -> usize { TextBlock :: text_ref ( & ctx . get_widget ( self . text_block ) ) . chars ( ) . count ( ) }
gets the len of the text
gets the len of the text
&self
ctx
&mut Context