Text editors focus on what their name implies......text editing. Editors mainly deal with editing and reading source code. Editors have features such as syntax highlighting, cold folding, code formatting, linting etc.
IDEs or Integrated Development Environments on the other hand focus on developing software as a whole not just the source code. They provide an environment where developers deal with many aspects of software development. That means not only can you edit source code but you can also debug code, build and run code, test code, refactor code and much more.
i think the main difference is that an editor is more about syntax highlighting without supporting the whole toolchain per default. so for example a git merge conflict views is not a default part of an editor. ofc you can upgrade some editors so they become an IDE of sorts. but this is just my understanding and not a fact :)
Brandon
Frontend Developer
IDE = "Integrated Development Environment". It has things like preprocessors, compilers, builders, VMs, git clients, whatever is needed to get the job done. An editor is just an editor.