Bug #19325 2014-03-13 12:04

edwardelric

Deleted code gives errors when compiling

I folded a function consisting of about 50 lines of code into a single line, then cutted and pasted it to a new file within code::blocks, because I wanted to replace the function but backup the old code.

After cutting and thus removing the code from the source file (main.cpp), the programming editor does not show the code anymore as expected. However, the line numbers where the code was are skipped, the editor shows the line number going directly from 147 to 205. Also, when compiling the program, I get errors from the compiler about line numbers 148, 151, 157, and 158, all of which have in fact been removed from the program and thus should never cause compilation errors by definition.

What is going on here?? :-(

Category
Application::Editor
Group
Platform:All
Status
Open
Close date
 
Assigned to