Tags: scalameta/mdoc
Tags
implementation for width and heigth cropping based on regex tokenizat… …ion (#982) * Initial implementation for width and heigth cropping based on regex tokenization * Scalafmt * Correcting fail suite for scala 3 and changing behaviour for empty lines * Correcting fail suite to pass 2.13 * Addding hardcoded compatibility to scala 2.13 * Corrections according to MR comments * Adding additional if statement to pass warning to print to stream * Adding additional case for when warning is ommi 8000 ted * Correcting to proper if statement * Scalafmt * Correcting FailSuite and WarnSuite --------- Co-authored-by: Julian Kozłowski <jkozlovvski@Julians-MacBook-Pro.local>
bugfix: Remove additional whitespace from summary The recent changes caused the spaces to no longer be removed properly due to the fact that we no longer operate on an actual value when printing one line summary. I tried solving this multiple ways but: - there is no sensible way to just copy any value - using pprint.Tree as itnermediate representation doesn't work as those contain Iterator and are one use only The easiest was to just replace newline with space and then deduplicate whitespace to save space on the online summary. This also makes it consistent across Scala 2 and 3
PreviousNext