- Line 1: a single line of non-wrapped text
- Line 3: the previous line wrapped with Alt+Q (working as intended)
- Line 10: the same text that is on the first line, but between the tag tag
- Line 12: the above text within the tags after pressing Alt+Q (notice the opening angled brackets)
line_prefix_pattern = re.compile("^\W+")
line_prefix_pattern = re.compile("^")
the problem (my problem at least) is solved.
Partially, because I've also noticed that the module doesn't try to wrap the selected text, but a paragraph instead. If I have tags nested into each other (say, 3 levels deep) and I select the text on the third level (which could possibly contain in-line tags) then everything gets wrapped up to the first level.
Is there a way to make wrapping work on selections rather than paragraphs?
I've used a vanilla 2165 build for the test, but I've checked that it worked like this since 2139 or so.
By the way, I couldn't measure the further implications of this change, so maybe it is plain rubbish.
Kundesupport af UserEcho