Bug 182299 - Syntax highlight lost after realoading file from disk
Summary: Syntax highlight lost after realoading file from disk
Status: RESOLVED FIXED
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-29 13:17 UTC by Claudio
Modified: 2009-05-31 22:04 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Claudio 2009-01-29 13:17:44 UTC
Version:           Kile 2.0.81 (from svn Last Changed Rev: 916758) (using KDE 4.2.0)
Compiler:          g++ (Ubuntu 4.3.2-1ubuntu12) 4.3.2 
OS:                Linux
Installed from:    Ubuntu Packages



When a file is modified in the hard drive and reloaded in Kile, it does not show syntax highlighting any more

I am using kile 2.0.81 from svn Last Changed Rev: 916758
Comment 1 Thomas Braun 2009-02-22 18:26:14 UTC
This is a kate bug.

*** This bug has been marked as a duplicate of bug 179857 ***
Comment 2 petr břeň 2009-04-13 12:37:17 UTC
I am not so sure that this is the same bug as 179857. On my system (debian sid/experimental amd64, qt 4.5.0), I have Kile 2.1.0~svn949704-1 and Kate 4.2.2-1. The loss of syntax highlighting when a file is reloaded occurs *only* in Kile and *not* in Kate. I tested it with the same file.
Comment 3 Michel Ludwig 2009-04-16 19:50:28 UTC
SVN commit 954996 by mludwig:

Ensure that the highlighting mode is set again after reload. This can be seen as a work-around for a potential KatePart bug.

BUG: 182299



 M  +10 -0     documentinfo.cpp  
 M  +1 -0      documentinfo.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=954996
Comment 4 20120808_bugs.kde.org 2009-05-31 22:04:03 UTC
same effect here

syntax highlighting lost after
'file changed on disk' / 'reload file'
in kile

(kile 2.0.81 using kde 4.2.3)


but not so in kate after 
'documents modified on disk' / 'reload'
syntax highlighting appears to remain active

(kate 3.2.3 using kde 4.2.3)



kubuntu packages