Armed men attack editor of Pakistani daily