Any text editor can be used for SVG source files. It’s plain XML, nothing else. Still, some editors are better than others.
GNU Emacs has very good support for SVG and it allows you to switch between text mode and image mode.
Lots of editors have XML editing capabilities, like tree-viewing and source code highlighting.