editor: fix IndexOutOfBound exception
editor: fix IndexOutOfBound exception

reasonml-editor/reasonml-idea-plugin,giraud/reasonml-idea-plugin,reasonml-editor/reasonml-idea-plugin,giraud/reasonml-idea-plugin,giraud/reasonml-idea-plugin