- if(edit_labels &&
- handle_mode == MOVE_ALL_EDITS)
- {
- if(currentend == 0) // left handle
- {
- if(newposition < oldposition)
- {
- insert(oldposition, oldposition - newposition); // shift all labels right
- }
- else
- {
- clear(oldposition, newposition); // clear selection
- }
- }
+ if( !currentend ) { // left handle
+ if( newposition < oldposition )
+ insert(oldposition, oldposition - newposition); // shift all labels right