incorporated @BurntSushi's suggestions, widened loop
incorporated @BurntSushi's suggestions, widened loop

fuchsia-mirror/third_party-xi-editor,google/xi-editor,fuchsia-mirror/third_party-xi-editor,google/xi-editor,fuchsia-mirror/third_party-xi-editor,modelorganism/xi-editor,google/xi-editor,fuchsia-mirror/third_party-xi-editor,google/xi-editor,modelorganism/xi-editor,modelorganism/xi-editor