Details: Now that Bug 112888 (folding without end tags) has been fixed, I'm finally going back and modifying the .xml file I wrote for highlighting and folding to work without ending markup. I've run in to a new problem / disappointment--when I fold without ending markup, there is no whitespace between collapsed headings: <example without whitespace--note that the From lines are the top level headings> From "file /rhk/bin/askRhk4a_2016_notes.aml" Sun Jul 31 07:01:07 2016 From "Files and location" Sun Jul 31 07:08:12 2016 From "Notes on design and the state diagram" Sun Jul 31 07:08:30 2016 ---++ New problem: No whitespace between collapsed headings ---++ Behavior of askRhk04?.xml files with Kate bugfix ---+++ askRhk04.xml with ending markup ---+++ askRhk04.xml without ending markup ---++ Simplifications From "Files and location" Sun Jul 31 07:08:12 2016 </example without whitespace> Especially when I have a long file / outline, it is hard (for me) to distinguish / read / skim those collapsed headings without blank lines between them. The following is what I'd like to see. <example with whitespace--note that the From lines are the top level headings> From "file /rhk/bin/askRhk4a_2016_notes.aml" Sun Jul 31 07:01:07 2016 From "Files and location" Sun Jul 31 07:08:12 2016 From "Notes on design and the state diagram" Sun Jul 31 07:08:30 2016 ---++ New problem: No whitespace between collapsed headings ---++ Behavior of askRhk04?.xml files with Kate bugfix ---+++ askRhk04.xml with ending markup ---+++ askRhk04.xml without ending markup ---++ Simplifications From "Files and location" Sun Jul 31 07:08:12 2016 </example with whitespace> I can imagine a few approaches to a solution * a global option (named, perhaps, "Blank line[s] after collapsed heading") that, when set, put one (or a specified number) of blank lines after a collapsed heading and before the next heading (collapsed or not). * a new parameter that can be added to any context in a kate .xml highlighting / folding file (named, perhaps, blankLinesAfterCollapsedHeading) that, when set, put one (or a specified number) of blank lines after the collapsed heading defined by the given context. I can imagine that others (and at times, even me) will prefer not to have that added blank line, so it should be reasonably easy to change from the GUI. (Of course, if the option is set in each context, I could switch between blank lines or not by having 2 .xml files and switching between them.) This is only an issue for folding when there is no ending markup for a folding section--with ending markup, blank lines after the ending markup are preserved. Reproducible: Always Steps to Reproduce: 1. I think I've provided enough under information under Details, but, if not, ask a question. 2. 3. Actual Results: See the example in Details without whitespace. Expected Results: See the example in Details with whitespace.
When I say ending markup that is synonymous with end tags.
Dear user, this wish list item is now closed, as it wasn't touched in the last year and no contributor stepped up to implement it. The Kate/KTextEditor team is small and we can just try to keep up with fixing bugs. Therefore wishes that show no activity for a years or more will be closed from now on to keep at least a bit overview about 'current' wishs of the users. If you want your feature to be implemented, please step up to provide some patch for it. If you think it is really needed, you can reopen your request, but keep in mind, if no new good arguments are made and no people get attracted to help out to implement it, it will expire in a year again. We have a nice website https://kate-editor.org that provides all the information needed to contribute, please make use of it. Patches can be handed in via https://phabricator.kde.org/differential/ Greetings Christoph Cullmann