When a header is edited in a certain way the wrong style is applied to the text. Reproducible: Always Steps to Reproduce: 1. Start a new empty document 2. Change the first (empty) paragraph to e.g. style Head 2 3. Write a few words. Press Enter 4. Write some more characters 5. Delete the characters, the newline and a few characters at the end of the heading. 6. Type some new characters. Actual Results: The last typed characters will be in another style than the rest of the header. Expected Results: The new characters should be using the same style as the rest of the paragraph.
I can reproduce
Git commit 08b0eb4f8bd1331099718260a1ff99d3c4a4fb29 by Pierre Stirnweiss. Committed on 06/01/2013 at 09:55. Pushed by pstirnweiss into branch 'calligra/2.6'. Fix wrong style applied on backspace When using backspace, we keep the char format of the deleted char. This should not apply when deleting across the newline boundary. REVIEW: 108199 M +4 -1 libs/kotext/commands/DeleteCommand.cpp http://commits.kde.org/calligra/08b0eb4f8bd1331099718260a1ff99d3c4a4fb29