summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/snippets/snippet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/texteditor/snippets/snippet.cpp')
-rw-r--r--src/plugins/texteditor/snippets/snippet.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/plugins/texteditor/snippets/snippet.cpp b/src/plugins/texteditor/snippets/snippet.cpp
index fbe00be39d..38b481b16f 100644
--- a/src/plugins/texteditor/snippets/snippet.cpp
+++ b/src/plugins/texteditor/snippets/snippet.cpp
@@ -70,22 +70,6 @@ public:
}
};
-QString SnippetParseError::htmlMessage() const
-{
- QString message = errorMessage;
- if (pos < 0 || pos > 50)
- return message;
- QString detail = text.left(50);
- if (detail != text)
- detail.append("...");
- detail.replace(QChar::Space, "&nbsp;");
- message.append("<br><code>" + detail + "<br>");
- for (int i = 0; i < pos; ++i)
- message.append("&nbsp;");
- message.append("^</code>");
- return message;
-}
-
// --------------------------------------------------------------------
// Snippet:
// --------------------------------------------------------------------