Organized editor code