Skip to content

Commit

Permalink
Enable small UnicodeBlocks by default
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Hilbert <[email protected]>
  • Loading branch information
RyanHilbert authored Oct 31, 2024
1 parent 248a74f commit 445d13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ fun main(){
var direction = Char.MIN_VALUE.direction.code
var script = Char.MIN_VALUE.script.code
var block = Char.MIN_VALUE.block
for(char in Char.MIN_VALUE..Char.MAX_VALUE)if(char.script!=UnicodeScript.UNKNOWN||char.block==null||char.block in CONDENSED){
for(char in Char.MIN_VALUE..Char.MAX_VALUE)if(char.script!=UnicodeScript.UNKNOWN||char.block==null||char.block in CONDENSED||char.block.chars.count()<=Char.SIZE_BITS){
val seq = char.seq
val q = if(seq.isEmpty())"" else " "+SEQ_ID+"="+seq.escapedHTML
val b = char.block
Expand Down

0 comments on commit 445d13f

Please sign in to comment.