Version: (using KDE KDE 3.0.99) Installed from: Slackware Packages Compiler: gcc 2.95.3 (main) and gcc 3.2 OS: Linux When kate reopens a file through ssh (FISH), the highlight isn't restored. I only tested this using C++ sources. Choosing other highlight and returning to C++ highlight restore the colors.
I have been noticing this too. It seems to happen with all IOSlaves. Couldn't track it down though... any other developers have an idea?
*** Bug 60933 has been marked as a duplicate of this bug. ***
:() works in cvs head, will be there for kde 3.2
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); }
Syntax highlighting for any auto-started file located in an ftp also fails with kate 2.1 . I guess this is fixed aswell, right? Good work guys, i was gonna post this bugreport until I saw this one. Daniel