2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Added ability to apply formatting from Mac menu.

This commit is contained in:
23rd
2019-08-11 19:27:59 +03:00
committed by John Preston
parent 7316d24ca4
commit 1a06714f3a
4 changed files with 81 additions and 21 deletions

View File

@@ -47,10 +47,6 @@ const auto kNewlineChars = QString("\r\n")
+ QChar(0xfdd1) // QTextEndOfFrame
+ QChar(QChar::ParagraphSeparator)
+ QChar(QChar::LineSeparator);
const auto kClearFormatSequence = QKeySequence("ctrl+shift+n");
const auto kStrikeOutSequence = QKeySequence("ctrl+shift+x");
const auto kMonospaceSequence = QKeySequence("ctrl+shift+m");
const auto kEditLinkSequence = QKeySequence("ctrl+k");
class InputDocument : public QTextDocument {
public: