From 9802b6c39b72d22492e3fb1d4cfbaca8f7644b92 Mon Sep 17 00:00:00 2001 From: Lilith Orion Hafner Date: Wed, 7 Aug 2024 13:42:17 +0000 Subject: [PATCH] Load ScopedValues symbols from their source Loading `@with` from Base is accessing internals because `@with` is not a public symbol in Base. --- src/StyledStrings.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/StyledStrings.jl b/src/StyledStrings.jl index 931e418..c43ad13 100644 --- a/src/StyledStrings.jl +++ b/src/StyledStrings.jl @@ -2,8 +2,8 @@ module StyledStrings -using Base: AnnotatedString, AnnotatedChar, annotations, annotate!, annotatedstring, - ScopedValue, with, @with +using Base: AnnotatedString, AnnotatedChar, annotations, annotate!, annotatedstring +using Base.ScopedValues: ScopedValue, with, @with export @styled_str public Face, addface!, withfaces, styled, SimpleColor