Basically any text editor can be used to edit TEX-files, but also dedicated typesetting systems that base on TEX, such as Lyx and the commercial tool The Publisher.