Removed unused InputField::commitMarkdownReplacement method.

This commit is contained in:
23rd 2023-08-31 13:25:25 +03:00
parent 89b60c01a6
commit 4389f17120
2 changed files with 4 additions and 0 deletions

View file

@ -3257,6 +3257,7 @@ void InputField::commitInstantReplacement(
cursor.insertText(replacement, format);
}
#if 0
bool InputField::commitMarkdownReplacement(
int from,
int till,
@ -3368,6 +3369,7 @@ bool InputField::commitMarkdownReplacement(
return true;
}
#endif
void InputField::addMarkdownTag(
int from,

View file

@ -431,11 +431,13 @@ private:
const QString &customEmojiData,
std::optional<QString> checkOriginal,
bool checkIfInMonospace);
#if 0
bool commitMarkdownReplacement(
int from,
int till,
const QString &tag,
const QString &edge = QString());
#endif
void addMarkdownTag(int from, int till, const QString &tag);
void removeMarkdownTag(int from, int till, const QString &tag);
void finishMarkdownTagChange(