Bug 71536 - disable C++ menu choices while editing C code
Summary: disable C++ menu choices while editing C code
Status: RESOLVED DUPLICATE of bug 57156
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: git master
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-31 04:58 UTC by Jon Smirl
Modified: 2007-09-11 19:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Smirl 2003-12-31 04:58:16 UTC
Version:           CVS (using KDE Devel)

Edit->Complete text 
Edit->Make Member
Project-New Class

I think these are all used in C++ programs. They don't seems to do anything in my C code. They should probably be disabled when editing C code.

The Complete text function gives a messed up identifier list in C. I think it is trying to parse C as C++. C++ keywords are fair game for use in C programs. Using these keywords as variable messes up the parser.
Comment 1 Jens Dagerbo 2006-04-18 22:35:36 UTC

*** This bug has been marked as a duplicate of 57156 ***