Multi selection fixes
Fri Aug 18 12:20:58 WEST 2006 Miguel Vilaca <jmvilaca@di.uminho.pt>
* Multi selection fixes
Fixes this bugs concerning multi selection:
- When a rectangular area selection was made, the DEL/BACKSPACE buttons were doing nothing.
- Multiple selection by CONTROL key is now working.
{
hunk ./html/HowToUse.html 21
-<li> To delete a node or edge, select it and press backspace, or else use the context menu.
+<li> To delete a node or edge, select it and press BACKSPACE or DEL, or else use the context menu.
hunk ./html/HowToUse.html 29
- the extra nodes and control points. (Meta = Apple key, or Alt key.)
- A multiple selection can be dragged just like a single selection.
+ the extra nodes and control points. (Meta = Apple key, or CONTROL key.)
+ A multiple selection can be dragged or deleted just like a single selection.
hunk ./html/HowToUse.html 43
-<li> Alternatively, use the rule creation wizard. Pressing this button will
+<li> Alternatively, use the <b>Rule creation wizard</b>. Pressing this button will
hunk ./src/NetworkControl.hs 108
+ MultipleSelection canv area nodeNrs viaNrs | canv == canvas ->
+ do{ PD.updateDocument "delete multiple selection"
+ ( setSelection NoSelection
+ . updateSelNetwork (foldr (\edgeNr r -> removeNode edgeNr . r) id nodeNrs) canvas
+ ) pDoc
+ ; repaintAll state
+ }
hunk ./src/NetworkUI.hs 574
- | metaDown mods -> leftMouseDownWithMeta mousePoint state
+ | metaDown mods || controlDown mods -> leftMouseDownWithMeta mousePoint state
}