From d7bf89fc1cce89de30c76f6b5fd6f15f1484367b Mon Sep 17 00:00:00 2001 From: Spencer Russell Date: Mon, 25 Jun 2018 09:53:11 -0400 Subject: [PATCH] adds `printstyled` to NEWS.md (#27761) * adds `printstyled` to NEWS.md the `needs_news` tag can be removed from #25522 * fixes `printstyled` trailing whitespace in NEWS.md --- NEWS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NEWS.md b/NEWS.md index ec04c0ab218ed..7c7a08e3d4f93 100644 --- a/NEWS.md +++ b/NEWS.md @@ -552,6 +552,9 @@ Library improvements [ANSI color codes](https://en.wikipedia.org/wiki/ANSI_escape_code) ([#25067]), rather than using the undocumented `Base.have_color` global flag. + * `print_with_color` has been deprecated in favor of + `printstyled([io], xs...; bold=false, color=:normal)` for printing styled text ([#25522]). + * Functions `first` and `last` now accept `nchar` argument for `AbstractString`. If this argument is used they return a string consisting of first/last `nchar` characters from the original string ([#23960]).