It's not an editor, but I imagine this XML file [1] might be useful
for creating an editor since it lists the MARC fields, their labels,
indicators, and what valid subfields. If you are interested this file
is generated by crawling the LoC documentation with this [2].