Community
Participate
Working Groups
Build Identifier: Eclipse Version: 3.7.1 Build id: R3_7_1 The feature "mark all occurrencies" is bugged, so after a certain type of code, it no longer marks all occurrencies of a word you just clicked on. I am going to attach: - an image file with version of all CDT components I have - a C file with the code that reproduces the bug Reproducible: Always Steps to Reproduce: 1.Open an empty C source file and paste inside it the code I attatched here 2.Make sure toolbar button "Toggle mark all occurrencies" is enabled 3.Click on a random word after the "do" command (about line number 65)
Created attachment 210592 [details] CDT components version
Created attachment 210593 [details] Code that triggers the bug
The whole do{} loop is marked as syntax error and there is a good reason: do { //... } is no valid syntax. It should be instead: do { //... } while(condition); Mark occurrences works only with valid C/C++ code.
Sorry BUT I think that should work even if you are currently having non valid code, since you are still coding it!