What is a text editor?
Program that edits text
By today's poor vernacular, a plaintext editor, ie no formatting and extra data, just plain text. Examples: Notepad, nano, gedit, leafpad.
A program where you can write code and create small console applications.
It is a program that edits text i.e. you write code but you can't run it.