def open_file(self, file_name): flags = (sublime.FORCE_GROUP | sublime.ENCODED_POSITION) self.window.open_file(file_name, group=(self.window.num_groups() - 1), flags=flags)