From df4fbcb4cf6c593c725f677b2ed587e877ae6709 Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Tue, 9 Jun 2020 00:19:32 +0200 Subject: Adds help document, adds block quote support, updates gemini parser to newest spec, adds support for arbitrary gemini files in about: space, adds url bar shortcut, fixes bug with line breaks in preformatted text --- src/settingsdialog.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/settingsdialog.cpp') diff --git a/src/settingsdialog.cpp b/src/settingsdialog.cpp index d6b84cf..6512db6 100644 --- a/src/settingsdialog.cpp +++ b/src/settingsdialog.cpp @@ -108,6 +108,10 @@ void SettingsDialog::setGeminiStyle(DocumentStyle const &style) .arg(this->current_style.background_color.name()) .arg("#FF00FF")); + ui->quote_preview->setStyleSheet(COLOR_STYLE + .arg(this->current_style.blockquote_color.name()) + .arg("#FF00FF")); + ui->link_local_preview->setStyleSheet(COLOR_STYLE .arg(this->current_style.background_color.name()) .arg(this->current_style.internal_link_color.name())); @@ -184,6 +188,8 @@ Plain text document here. => rela-link Same-Site Link => //foreign.host/ Foreign Site Link => https://foreign.host/ Cross-Protocol Link +> Multi-lined +> block quotes ``` ▄▄▄ ██▀███ ▄▄▄█████▓ ▒████▄ ▓██ ▒ ██▒▓ ██▒ ▓▒ @@ -309,6 +315,10 @@ void SettingsDialog::on_link_cross_change_color_clicked() { updateColor(current_style.cross_scheme_link_color); } +void SettingsDialog::on_quote_change_color_clicked() +{ + updateColor(current_style.blockquote_color); +} void SettingsDialog::on_link_local_prefix_textChanged(const QString &text) { -- cgit v1.2.3