SUMMARY I need to print out some code, but not all parts are equally interesting, so I used the folding feature to hide the less important parts. In print, everything was expanded. STEPS TO REPRODUCE 1. Fold some parts of the code 2. Print 3. OBSERVED RESULT All the code is expanded in print EXPECTED RESULT The folded parts should be printed as folded
Git commit c892d15952d4ba51fb66b99dc8b3a71953963a62 by Christoph Cullmann, on behalf of Waqar Ahmed. Committed on 31/03/2023 at 08:48. Pushed by cullmann into branch 'master'. Dont ignore folding when printing code This is optional and can be turned off M +1 -0 src/printing/kateprinter.cpp M +11 -0 src/printing/printconfigwidgets.cpp M +2 -0 src/printing/printconfigwidgets.h M +15 -7 src/printing/printpainter.cpp M +5 -1 src/printing/printpainter.h https://invent.kde.org/frameworks/ktexteditor/commit/c892d15952d4ba51fb66b99dc8b3a71953963a62
Git commit 79e33beb4552b80e06d2e3efb6ea266281a3079c by Waqar Ahmed. Committed on 04/04/2023 at 19:01. Pushed by cullmann into branch 'kf5'. Dont ignore folding when printing code This is optional and can be turned off M +1 -0 src/printing/kateprinter.cpp M +11 -0 src/printing/printconfigwidgets.cpp M +2 -0 src/printing/printconfigwidgets.h M +17 -9 src/printing/printpainter.cpp M +5 -1 src/printing/printpainter.h https://invent.kde.org/frameworks/ktexteditor/commit/79e33beb4552b80e06d2e3efb6ea266281a3079c