Enc.narrowed: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/lsp/enc.bend as Enc Lines 139-147 of bolt@1.27.0.0/src/lsp/enc.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/lsp/enc.bend&start_line=139&end_line=147 import Base # the encoding a document's columns convert by: UTF-16 on lines with no wide # char counts exactly as utf-32 does (LAWS.bend's enc_narrow), so such a # document converts as utf-32 and never looks a line up def narrowed(ee: Enc, wide: Bool) -> Enc: match ee: case Utf16{}: Bool.pick(Enc, wide, Utf16{}, Utf32{}) case Utf32{}: Utf32{} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/enc.bend&name=Enc