private static boolean isSlashBeforeCaret(int caretOffset, String fileText) {
    return caretOffset > 0 && fileText.charAt(caretOffset - 1) == '\\';
  }
private static boolean isSlashBeforeCaret(int caretOffset, String fileText)