Moved listView code into notepad.cpp