summaryrefslogtreecommitdiff
path: root/usr.bin/mg/util.c
AgeCommit message (Expand)Author
2015-11-18whitespaceJasper Lievisse Adriaanse
2015-10-10Make functions that accept multiple iterations via C-u N, honour 0.Mark Lumsden
2015-09-29Delete the final, inscrutable NOSTRICT and VARARGS lint commentsPhilip Guenther
2015-03-19Clean up the includes in mg.Brian Callahan
2015-03-16Change the internal name of the newline function to deconflict with aBrian Callahan
2014-03-26Previously, C-t (transpose two chars) did not behave the same asMark Lumsden
2013-03-25Display the window's column number in mode line not theFlorian Obser
2012-05-18Allow no-tab-mode to compile. From James Turner.Mark Lumsden
2011-01-21It volates style(9), but in mg, #include"def.h" goes first. 'twas the way it ...Kjell Wooding
2011-01-19patch from Henri Kemppainen:Kjell Wooding
2011-01-18Add join-line, bound to M-^Kjell Wooding
2011-01-17Add back-to-indentation. (M-m)Kjell Wooding
2008-09-15Expose the undo commands as proper mg functions.Kjell Wooding
2008-06-11Add delete-leading-space, delete-trailing-space,Kjell Wooding
2007-02-08Fix a commentKjell Wooding
2006-11-17Fix a needless inversion of flag names; i.e. change them from theKjell Wooding
2006-07-25Add bfirstlp(), blastlp() macros, returning the first and last linesKjell Wooding
2006-07-25Rename the header line of a buffer to b_headp, from the remarkablyKjell Wooding
2006-06-01kill another superfluous strlenKjell Wooding
2006-06-01Style. no practical change.Kjell Wooding
2006-06-01Make transpose (c-T) undoable.Kjell Wooding
2005-11-22Move kill-related commands to their own file.Kjell Wooding
2005-11-19Clean up some lint.Kjell Wooding
2005-11-18greedy use of typedef struct was making code harder to read; ok kjell cloderTheo de Raadt
2005-11-18Don't ifdef out. Delete it. That's what the attic is for.Kjell Wooding
2005-10-13Make undoing of a yank operation work as expectedKjell Wooding
2005-06-14Add explicit public domain notices to all public domain files.Kjell Wooding
2005-04-03This is a no binary change which does:David Berghoff
2003-05-20Finish KNF of prototypes. That should be all of them.Chad Loder
2003-05-16fix the goal calculation routine so moving up and down moves to the rightVincent Labrecque
2002-05-30fix segfault when using just-one-space on an empty line; fromVincent Labrecque
2002-02-14some KNFTheo de Raadt
2001-05-24spacesMichael Shalayeff
2001-05-23remove VOID. We're way beyond the point where this could build with anArtur Grabowski
2001-01-29$OpenBSD$Niklas Hallqvist
2000-09-01More -Wall anmd KNF, from op2@tomahawk.SQUiSH.orgTodd C. Miller
2000-04-13The start of KNF + -Wall. The code has been run through indent butTodd C. Miller
2000-02-25initial import of mg2aTheo de Raadt