core:Text make shorten routine work with a single word too.

closes #1334