Diabetic retinopathy
Elevation of blood-glucose levels can also cause edema (swelling) of the crystalline lens  as a result of sorbitol (sugar alcohol) building up in the lens. This edema often causes temporary myopia (nearsightedness). A common sign of swelling of the lens  is blurring of distance vision while near vision remains adequate.