Bug 380697

Summary: KDELIBS: No syntax highlighting after reload
Product: [Applications] rkward Reporter: RKWard Team <rkward-devel>
Component: generalAssignee: RKWard Team <rkward-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:

Description RKWard Team 2009-10-28 16:12:27 UTC
-- Originally posted by (AT sourceforge.net): rtautenh --

-- This ticket was imported from http://sourceforge.net/p/rkward/bugs/59 on 2017-05-30 15:26:40 +0100 --
When reloading a file in the editor \(F5\), syntax highlighting is not shown anymore.
RKWard 0.5.2
Using KDE 4.2.4 \(KDE 4.2.4\)

-- Labels: user interface --
Comment 1 RKWard Team 2009-10-28 16:17:41 UTC
-- Originally posted by (AT sourceforge.net): rtautenh --
works in kate, though
Comment 2 Thomas Friedrichsmeier 2009-10-30 12:18:14 UTC
Hi Ralf\!

Thanks for reporting. I can't reproduce this with RKWard 0.5.2 / KDE 4.3.2, here. Syntax highlighting continues to work after a reload. 

Therefore, some follow-up questions:
1\) I assume it's the R highlighting, we're talking about, not any other highlighting mode?
2\) Does this happen for any file, or just some? If it's just some, could you provide a sample? If you open the same file in kate, is the R highlighting used, automatically, or do you have to specify it, once?
3\) Does the file name extension make any difference \('.R' vs. something else\)
4\) Only after editing / not editing the file, or always?
5\) Do you think this issue is new in RKWard 0.5.2, or could it have been present, before?

Regards
Thomas
Comment 3 RKWard Team 2009-10-30 16:14:58 UTC
-- Originally posted by (AT sourceforge.net): rtautenh --
&gt;1\) I assume it's the R highlighting, we're talking about, not any other
&gt;highlighting mode?
Yes, the R  highlighting.

&gt;2\) Does this happen for any file, or just some? If it's just some, could
&gt;you provide a sample? If you open the same file in kate, is the R
&gt;highlighting used, automatically, or do you have to specify it, once?

Any file. 
R highlighting is used in kate automatically.

&gt;3\) Does the file name extension make any difference \('.R' vs. something
No, that makes no difference.

&gt;4\) Only after editing / not editing the file, or always?
Always.

&gt;5\) Do you think this issue is new in RKWard 0.5.2, or could it have been
&gt;present, before?

Not really sure, but I believe I saw this effect in earlier versions, too. 
I don't use reload very often, but the reload notification/dialog after file changes \(e.g. svn up\)
-which is VERY useful btw -  exposes the issue from time to time.

Just tried it on another fresh Ubuntu 9.04 installation - same thing there.

Thanks\!
Ralf.

Comment 4 Thomas Friedrichsmeier 2009-11-30 17:34:09 UTC
Hi\!

It looks like this is a bug in KDElibs 4.2.x, but apparently it's fixed in KDElibs 4.3.x. \(See this thread: http://www.mail-archive.com/rkward-devel@lists.sourceforge.net/msg00570.html\).

I'll leave this report open until you get a chance to upgrade to KDE 4.3.x and test again.

Regards
Thomas
Comment 5 Thomas Friedrichsmeier 2009-11-30 17:34:09 UTC
- **summary**: No syntax highlighting after reload  --> KDELIBS: No syntax highlighting after reload 
Comment 6 RKWard Team 2010-08-03 17:15:53 UTC
-- Originally posted by (AT sourceforge.net): rtautenh --
works fine with KDE 4.4.92
Comment 7 RKWard Team 2010-08-03 17:17:07 UTC
-- Originally posted by (AT sourceforge.net): rtautenh --
works fine with KDE 4.4.92
Comment 8 RKWard Team 2010-08-03 17:17:07 UTC
-- Originally posted by (AT sourceforge.net): rtautenh --
- **status**: open --> closed-fixed