I want a million dollars. Unfortunately I need to earn it.
As I have said before, you need to learn. Is your project to create a lexical analyzer? Why did you leave this so late? The best course of action is to discuss this with your professor.
Even if I were going to write the code, it would take me more than one day. Even if I had the code and I gave it to you today, that doesn't give you enough time to create an editor.