Fix indentation lines shown spuriously when horizontal space was unsufficient for indent fill
- Queries
- All Stories
- Search
- Advanced Search
Advanced Search
Feb 14 2020
Note to myself: should handle the case when width percentage disallows the indent, then indentation liens should not be drawn... e.g. here:
Feb 13 2020
No offense meant, but even with the screenshots I still have no idea what this is about :)
Good point, I somehow missed to explain the rationale for the change. :) If you are familiar with vim, this would be the breakindent and breakindentopt settings (that was my patch from 2007 which did not make it into vim until a few years back).
Can you add a before/after screenshot so we can see the visual difference?
I will use this example from std::sort documentation which is not the most convoluted code (those changes are the most useful for deeply nested code).
Feb 12 2020
This is the current dialogue, with two new options at the bottom (the circle had horizontal spring before an unrelated option, I think it was there by accident...?!).
Rename config keys as per discussion under D27238
Changed config key to dynamic-word-wrap-anywhere as suggested by @cullmann .
Feb 11 2020
In D27238#609494, @cullmann wrote:I am ok with this.
Thought I would like to have a more consistent name for the config key.
We have already "dynamic-word-wrap", I would like "dynamic-word-wrap-anywhere" better than the abbreviated "dyn-wrap-anywhere"
A complementary (also related to dynamic wrapping) change is tracked under D27285.
Fix tab/space indentation, fix maximum width. No other glitches known at present.
Feb 10 2020
Note: extra space (right fill) is not computed correctly if tabs are used for line indentation.
This is an example with right fill of 3 characters, left fill off, with indentation lines (note that they spend all visual lines of the dynamically wrapped line).