If you want to delete a set of vertex in a line geometry it is possible to:
- select the edit tool and select the linestring you want to edit
- select the vertexes you want to delete (with a box selection)
- press the CANC button on you keyboard
This operation now will do nothing and when you try to select an other tool from the toolbar (for example the selection tool) all the geometry will be deleted.