Summary: | highlighting doesn't work on remote (fish) files at start up | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Pupeno <pupeno> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 2.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Pupeno
2003-07-08 16:27:25 UTC
*** This bug has been marked as a duplicate of 51004 *** Subject: kdelibs/kate/part CVS commit by rodda: Fix syntax highlighting restoration for files loaded as part of a session. Christoph, this bug wasn't fixed in cvs head... but it is now :) CCMAIL:51004@bugs.kde.org CCMAIL:60933@bugs.kde.org M +4 -0 katedocument.cpp 1.660 --- kdelibs/kate/part/katedocument.cpp #1.659:1.660 @@ -2434,4 +2434,8 @@ bool KateDocument::openFile(KIO::Job * j if (hl >= 0) internalSetHlMode(hl); + + } else { + // The buffer's highlighting gets nuked by KateBuffer::clear() + buffer->setHighlight(m_highlight); } |