| 417 | } |
| 418 | |
| 419 | QString CustomScriptPlugin::previewText(const SourceFormatterStyle& style, const QMimeType& /*mime*/) const |
| 420 | { |
| 421 | if (!style.overrideSample().isEmpty()) { |
| 422 | return style.overrideSample(); |
| 423 | } |
| 424 | return defaultSample(); |
| 425 | } |
| 426 | |
| 427 | QStringList CustomScriptPlugin::computeIndentationFromSample(const SourceFormatterStyle& style, const QUrl& url, |
| 428 | const QMimeType& mime) const |
no test coverage detected