This is one of those topics that comes up pretty often, which just goes to show that Catholics love Jesus in the Eucharist!
The current fasting regulation is that you have to fast for an hour before Communion time, if you are going to receive Communion. (Not an hour before Mass starts, although that is a pretty common rule of thumb in my part of the US.) So if Mass at your parish lasts about an hour and Communion is at the 45 minute mark, you have to fast during Mass and for about fifteen minutes beforehand.
Throat lozenges eaten as medicine, or mints eaten as herbal medicine, do not break the current Eucharistic fasting regs. Neither does water. Neither does food or candy for diabetics low on sugar, for example. Mother Church does not want anybody collapsing.
OTOH, if you’re just hungry in a normal way, or have other normal concerns, eating food for those purposes would break the fast. But if you forget or just decide to eat, the thing to do is to remember not to receive. There is no shame in not receiving Communion for any good reason, and breaking the fast is a perfectly good reason.
It is common for people attending Extraordinary Form Masses to follow the older fasting regulations (fasting from midnight till Communion, not drinking water, etc.), or some version of the modified 1950’s fasting regulations (fasting for three hours before Communion). They are not bound by these regs, however; it is current canon law that binds them.
Obviously, there is nothing preventing people from keeping a longer Communion fast or a stricter Communion fast. But if you choose to do that for whatever reason, you are not bound by it; so breaking it in ways that don’t break the current rules still wouldn’t be a sin.