- /// accept selected change
- void acceptChange(LCursor & cur);
- /// reject selected change
- void rejectChange(LCursor & cur);
+ /// what type of change operation to make
+ enum ChangeOp {
+ ACCEPT,
+ REJECT
+ };
+ /// accept or reject the selected change
+ void acceptOrRejectChanges(LCursor & cur, ChangeOp op);
+ /// accept the changes within the complete LyXText
+ void acceptChanges(BufferParams const & bparams);
+ /// reject the changes within the complete LyXText
+ void rejectChanges(BufferParams const & bparams);