Skip to content

Commit

Permalink
added a todo
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed Mar 13, 2017
1 parent b2c1a59 commit 02fcd2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions markdownhighlighter.cpp
Expand Up @@ -522,6 +522,7 @@ void MarkdownHighlighter::setCurrentBlockMargin(
blockFormat.setTopMargin(2);
blockFormat.setBottomMargin(margin);

// TODO: this prevents "undo" in headlines
QTextCursor* myCursor = new QTextCursor(currentBlock());
myCursor->setBlockFormat(blockFormat);
}
Expand Down

0 comments on commit 02fcd2c

Please sign in to comment.