Trim textline

Hi Florian,

I guess optional automatic trimming of too long text lines is a nice feature that also makes it eays to handle the recent bug in Android text_menu

Please approve and merge.

Oliver