public static void moveForward(final Editor editor, final PsiFile file) {
    if (!XmlGtTypedHandler.fileContainsXmlLanguage(file)) return;
    moveToNextPoint(editor, file, editor.getCaretModel().getOffset(), 1);
  }
public static void moveForward(final Editor editor, final PsiFile file)