author | wenzelm |
Wed, 04 Sep 2024 12:50:52 +0200 | |
changeset 80806 | 24339db7d22f |
parent 80805 | d898711db199 |
child 80807 | b41c19523a2e |
--- a/src/Pure/General/pretty.scala Mon Sep 02 22:41:23 2024 +0200 +++ b/src/Pure/General/pretty.scala Wed Sep 04 12:50:52 2024 +0200 @@ -51,7 +51,7 @@ object Default_Metric extends Metric { val unit = 1.0 - def apply(s: String): Double = s.length.toDouble + def apply(s: String): Double = Codepoint.length(s).toDouble }