Changeset View
Changeset View
Standalone View
Standalone View
src/document/katebuffer.cpp
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Line(s) | 331 | if (h != m_highlight) { | |||
---|---|---|---|---|---|
342 | } | 342 | } | ||
343 | 343 | | |||
344 | // inform the document that the hl was really changed | 344 | // inform the document that the hl was really changed | ||
345 | // needed to update attributes and more ;) | 345 | // needed to update attributes and more ;) | ||
346 | m_doc->bufferHlChanged(); | 346 | m_doc->bufferHlChanged(); | ||
347 | 347 | | |||
348 | // try to set indentation | 348 | // try to set indentation | ||
349 | if (!h->indentation().isEmpty()) { | 349 | if (!h->indentation().isEmpty()) { | ||
350 | m_doc->config()->setIndentationMode(h->indentation()); | 350 | m_doc->config()->set("Indentation Mode", h->indentation()); | ||
351 | } | 351 | } | ||
352 | } | 352 | } | ||
353 | } | 353 | } | ||
354 | 354 | | |||
355 | void KateBuffer::invalidateHighlighting() | 355 | void KateBuffer::invalidateHighlighting() | ||
356 | { | 356 | { | ||
357 | m_lineHighlighted = 0; | 357 | m_lineHighlighted = 0; | ||
358 | } | 358 | } | ||
▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines |