summaryrefslogtreecommitdiff
path: root/usr.bin/mg/undo.c
AgeCommit message (Expand)Author
2006-11-19spacingTheo de Raadt
2006-11-17Fix a needless inversion of flag names; i.e. change them from theKjell Wooding
2006-07-25Rename the header line of a buffer to b_headp, from the remarkablyKjell Wooding
2006-07-08Introduce a 'MODIFIED' boundary type for undo records.Kjell Wooding
2006-07-08Fix a trio of bugs in line numbering: adjusting linenos after undo,Kjell Wooding
2005-12-20Do some delinting of strl-type functions. Also, remove a superfluousKjell Wooding
2005-12-13Last round of easy delinting.Kjell Wooding
2005-12-13do some silly de-lintingKjell Wooding
2005-11-18greedy use of typedef struct was making code harder to read; ok kjell cloderTheo de Raadt
2005-11-18One liner to fix doubled yank buffer issue (c-K, c-Y, M-x undo, c-Y).Kjell Wooding
2005-11-12Paranoia. Check if last of a series of strlcats overflows. Pointed out byKjell Wooding
2005-10-14add missing /* ARGSUSED */ to quiet lint.Kjell Wooding
2005-10-13spacingTheo de Raadt
2005-10-13Make undoing of a yank operation work as expectedKjell Wooding
2005-10-11A while back, undo records were moved from the BUFFER struct to MGWIN.Kjell Wooding
2005-10-06Make mg undo much more emacs like (and correct).Kjell Wooding
2005-05-29Try to undo crazy Quebecois stuff that was breaking undoChad Loder
2005-04-29Remove unneeded include. Han Boetes.Otto Moerbeek
2005-04-03This is a no binary change which does:David Berghoff
2003-12-15shorter function namesVincent Labrecque
2003-11-29save the previous undo position as an offset in the buffer instead ofVincent Labrecque
2003-11-09better boundary placement.Vincent Labrecque
2003-11-09fix a bug i introduced in -r1.19, we should still use the current bufferVincent Labrecque
2003-11-09remove the only use of the hackish undo_add_custom function.Vincent Labrecque
2003-10-21make undo records per MGWIN, not per BUFFER...Vincent Labrecque
2003-06-26protosVincent Labrecque
2003-06-01various format string cleanups; tedu okTheo de Raadt
2003-05-20Finish KNF of prototypes. That should be all of them.Chad Loder
2003-04-13correct snprintf bound value, ok millert@, deraadt@Anil Madhavapeddy
2002-09-15don't add undo records when we open a file, only when we insert it.Vincent Labrecque
2002-08-22knfTheo de Raadt
2002-07-24 remove the CHANGE undo record type, use a combination of delete and insertVincent Labrecque
2002-06-20KNFify the return (return x -> return (x))Vincent Labrecque
2002-06-20 some KNFVincent Labrecque
2002-03-18 Enter the new undo code. it is still disabled since it has bugs, but it'sVincent Labrecque
2002-03-16 This should've been commited yesterday, before the funmap change.Vincent Labrecque
2002-02-26keep undo records in the BUFFER structures insteda of having a huge list.Vincent Labrecque
2002-02-21 "rephrase" the loop's condition, gets rid of an ugly operation.Vincent Labrecque
2002-02-21 Save undo records for newline insertions.Vincent Labrecque
2002-02-21 Don't ignore the argument to undo. (makes ^U work)Vincent Labrecque
2002-02-21 Typo and...Vincent Labrecque
2002-02-20 Save newline deletes in their own undo record.Vincent Labrecque
2002-02-20 Add undo code to mg.Vincent Labrecque