mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-01 09:36:46 -04:00
Add more color for quotted text.
This commit is contained in:
parent
d1c065559e
commit
e492945612
7 changed files with 99 additions and 34 deletions
|
@ -1908,11 +1908,8 @@ void ChatWidget::updateCMPreview()
|
|||
|
||||
void ChatWidget::quote()
|
||||
{
|
||||
QString text = ui->textBrowser->textCursor().selection().toPlainText();
|
||||
QStringList sl = text.split(QRegExp("[\r\n]"), QString::SkipEmptyParts);
|
||||
text = sl.join("\n> ");
|
||||
text.replace(QChar(-4), " "); // Char used when image on text.
|
||||
emit ui->chatTextEdit->append(QString("> ") + text);
|
||||
QString text = RsHtml::makeQuotedText(ui->textBrowser);
|
||||
emit ui->chatTextEdit->append(text);
|
||||
}
|
||||
|
||||
void ChatWidget::dropPlacemark()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue