A text editor, in a strict way, will only help you with anything regarding your writing process; from selecting, copy, paste, search and replace, syntax highlight, etc. An IDE will typically integrate functions that you are related to programming itself, like debugging, compiling, context language helpers