Removed unused InputField::commitMarkdownReplacement method.
This commit is contained in:
parent
89b60c01a6
commit
4389f17120
2 changed files with 4 additions and 0 deletions
|
|
@ -3257,6 +3257,7 @@ void InputField::commitInstantReplacement(
|
||||||
cursor.insertText(replacement, format);
|
cursor.insertText(replacement, format);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
bool InputField::commitMarkdownReplacement(
|
bool InputField::commitMarkdownReplacement(
|
||||||
int from,
|
int from,
|
||||||
int till,
|
int till,
|
||||||
|
|
@ -3368,6 +3369,7 @@ bool InputField::commitMarkdownReplacement(
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void InputField::addMarkdownTag(
|
void InputField::addMarkdownTag(
|
||||||
int from,
|
int from,
|
||||||
|
|
|
||||||
|
|
@ -431,11 +431,13 @@ private:
|
||||||
const QString &customEmojiData,
|
const QString &customEmojiData,
|
||||||
std::optional<QString> checkOriginal,
|
std::optional<QString> checkOriginal,
|
||||||
bool checkIfInMonospace);
|
bool checkIfInMonospace);
|
||||||
|
#if 0
|
||||||
bool commitMarkdownReplacement(
|
bool commitMarkdownReplacement(
|
||||||
int from,
|
int from,
|
||||||
int till,
|
int till,
|
||||||
const QString &tag,
|
const QString &tag,
|
||||||
const QString &edge = QString());
|
const QString &edge = QString());
|
||||||
|
#endif
|
||||||
void addMarkdownTag(int from, int till, const QString &tag);
|
void addMarkdownTag(int from, int till, const QString &tag);
|
||||||
void removeMarkdownTag(int from, int till, const QString &tag);
|
void removeMarkdownTag(int from, int till, const QString &tag);
|
||||||
void finishMarkdownTagChange(
|
void finishMarkdownTagChange(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue