fix #185 (public static function textSource).