| 496 | } |
| 497 | |
| 498 | QString SourceFormatterController::FileFormatter::format(const QString& text, const QString& leftContext, |
| 499 | const QString& rightContext) const |
| 500 | { |
| 501 | Q_ASSERT(m_formatter); |
| 502 | return m_formatter->formatSourceWithStyle(m_style, text, m_url, m_mimeType, leftContext, rightContext); |
| 503 | } |
| 504 | |
| 505 | /** |
| 506 | * @return the name of kate indentation mode for @p mime, e.g. "cstyle", "python" |