2.7x, how to resize a mesh in edit mode and keep the texture

i’m using blender 2.7x, how to resize a mesh in edit mode and keep the texture, like when i do it in unreal engine 4
see the video :


thank you in advance for any tips