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 :)