EdAction.dcl 1.25 KB
Newer Older
Diederik van Arkel's avatar
Diederik van Arkel committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
definition module EdAction

//*********************************************************************************
// Original Clean Library Software Module
// Written for Clean version  : 1.3
// Written for I/O version    : 1.2
// Author                     : Diederik van Arkel
// Date                       :
// Last Modified by           :
// Date                       :
// Copyright                  : 1999 Hilt - High Level Software Tools B.V.
//                            : University of Nijmegen
// e-mail                     : clean@cs.kun.nl or rinus@hilt.nl
//*********************************************************************************
// It is allowed to modify this module for your own purposes but it is NOT allowed
// to (re)distribute the code or the modified code in ANY form without written
// permission.
//*********************************************************************************

/*
 * EdAction.dcl: performing editor Actions
 */

from EdSelection	import Position, ColumnNr, LineNr
from EdText			import TextFragment, StrictList

//1.3
from EdText import String
//3.1

import EdMonad, EdMovement
import EdCommon
from EdActionType	import Action

performAction	:: Action -> EditMonad (PSt PLocState) nothing

Diederik van Arkel's avatar
Diederik van Arkel committed
37
undoAction :: EditMonad (PSt .l) nothing