Done with foreach loops in Notepad_plus.cpp