[rkward-tracker] [ rkward-Bugs-3564769 ] code folding only works after reloading a R script
SourceForge.net
noreply at sourceforge.net
Wed Sep 5 16:24:26 UTC 2012
Bugs item #3564769, was opened at 2012-09-04 11:14
Message generated for change (Comment added) made by rtautenh
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3564769&group_id=50231
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: user interface
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ralf Tautenhahn (rtautenh)
Assigned to: Thomas Friedrichsmeier (tfry)
Summary: code folding only works after reloading a R script
Initial Comment:
Some of the recent changes seem to have introduced a problem with the code folding.
Code folding does not work (or not correctly) unlessl the file is reloaded (pressing F5).
After that it works fine.
Version 0.5.7z+0.5.8+devel1
Using KDE Development Platform 4.4.92 (KDE 4.4.92 (KDE 4.5 RC2))
----------------------------------------------------------------------
>Comment By: Ralf Tautenhahn (rtautenh)
Date: 2012-09-05 09:24
Message:
Sorry that I gave you such a hard time reproducing this bug!
It works now.
Thank you Thomas!
----------------------------------------------------------------------
Comment By: Thomas Friedrichsmeier (tfry)
Date: 2012-09-05 04:18
Message:
Hi Ralf!
Wow, that's a pretty mysterious problem. It took me some time to reproduce
this. Apparently, the ingredients are:
- a script that is not too short
- problem does not occur the *first* time a script was opened, and may or
may not come up, subsequently. When it does come up for a certain file, the
problem will persist for that file, even across sessions.
- When the problem occurs, the document config for that file will always
have
Highlighting=R Script
Mode=Normal
- changing that to
Highlighting=R Script
Mode=R Script
makes the problem go away.
Based on the last bit, I invented a hack that seems to fix them problem,
here. The actual cause is still a mystery to me. Please test.
(In case you want to toy with this, before updating: The relevant config is
_currently_ saved in
~/.kde/share/apps/rkward/workspace_config_SOME_MD5_SUM.)
Regards
Thomas
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3564769&group_id=50231
More information about the rkward-tracker
mailing list