summaryrefslogtreecommitdiff
path: root/src/GF/Shell/Commands.hs
diff options
context:
space:
mode:
authoraarne <unknown>2005-06-10 14:59:58 +0000
committeraarne <unknown>2005-06-10 14:59:58 +0000
commit3f192bd2bb99f827abd20be36fc125c0e6553e80 (patch)
tree29aed998993203fa61fc2e39f5b3d93614dc6fc5 /src/GF/Shell/Commands.hs
parent17c4219691d0df7629b7f8dd9ead956f9ee750b6 (diff)
editor command pc n ; resource/finnish
Diffstat (limited to 'src/GF/Shell/Commands.hs')
-rw-r--r--src/GF/Shell/Commands.hs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/GF/Shell/Commands.hs b/src/GF/Shell/Commands.hs
index d95cd51b1..99a7130e9 100644
--- a/src/GF/Shell/Commands.hs
+++ b/src/GF/Shell/Commands.hs
@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
--- > CVS $Date: 2005/04/21 16:23:19 $
--- > CVS $Author: bringert $
--- > CVS $Revision: 1.37 $
+-- > CVS $Date: 2005/06/10 15:59:58 $
+-- > CVS $Author: aarne $
+-- > CVS $Revision: 1.38 $
--
-- temporary hacks for GF 2.0
--
@@ -91,6 +91,7 @@ data Command =
| CRemoveOption Option
| CDelete
| CAddClip
+ | CRemoveClip Int
| CUndo
| CView
| CMenu
@@ -284,6 +285,7 @@ execECommand env c = case c of
CRemoveOption o -> changeStOptions (removeOption o)
CDelete -> action2commandNext $ deleteSubTree cgr
CAddClip -> \s -> (addtoClip (actTree (stateSState s))) s
+ CRemoveClip n -> \s -> (removeClip n) s
CUndo -> undoCommand
CMenu -> \s -> changeMsg (menuState env s) s
CView -> changeView