Text tool improvements