Summary: | indentation lines should not be interrupted by empty lines within the same indentation block | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-ktexteditor | Reporter: | kde |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | waqar.17a |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | screenshot of the current indentation lines being interrupted |
One can say that this is a feature which allows you to identify empty lines quickly ;) |
Created attachment 126038 [details] screenshot of the current indentation lines being interrupted Indentation is indicating nesting level of a code block. Empty lines within such block commonly separate logical sub-parts of the block (like text paragraphs within sections); as this is organizationally lower feature than nesting itself, indentation line should span across empty lines within code block. The attachment shows (marked by red lines) where indentation lines are broken but should not. This would add some level of non-locality to the renderer, as empty (whitespace-only) lines would have to check indentation level of closest lines above and below to determine their own "fake" nesting level. SUMMARY STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION