Wavenumber spectra of density turbulence in L-and H-mode plasmas have been measured in the TJ-II stellarator by means of Doppler reflectometry. A pronounced suppression of the density fluctuation level is observed in H-mode close to the radial position of maximum radial electric field (Er) shear. Furthermore, intermediate scale density turbulence is reduced preferentially. This effect can be interpreted within the framework of vortex stretching feeding energy through Reynolds stress into zonal flows, while shear decorrelation of turbulent structures might not play a central role in TJ-II. Moreover, it is shown that in both L-and H-mode, the phase velocity of density fluctuations does not depend on the structure scale.