summaryrefslogtreecommitdiff
path: root/usr.bin/mg/paragraph.c
AgeCommit message (Expand)Author
2018-11-17fix undo in transpose-paragraph.Mark Lumsden
2016-09-06If you have a paragraph:Mark Lumsden
2016-04-14Add 'sentence-end-double-space'.Mark Lumsden
2016-04-12Stop mg putting a space at the end of a paragraph when usingMark Lumsden
2015-12-14s/begining/beginning/gmmcc
2015-10-10Make functions that accept multiple iterations via C-u N, honour 0.Mark Lumsden
2015-09-26Add transpose-paragraphs. ok jasper@Mark Lumsden
2015-09-24Make comments more accurate.Mark Lumsden
2015-09-24Add mark-paragraph. ok jasper@Mark Lumsden
2015-09-24Fix multiple iterations of kill-paragraph. ok jasper@Mark Lumsden
2015-03-19Clean up the includes in mg.Brian Callahan
2014-11-16Stop using <sys/param.h>; replace MAXPATHLEN with PATH_MAX, stop using MAX(),Philip Guenther
2014-10-17If gotoeop() is called requiring more than one iteration, it behavesMark Lumsden
2014-10-13gotoeop() does not behave as expected when there is no '\n' at the end of theMark Lumsden
2014-10-12Fix a bug in backward-paragraph. If the cursor is on the first line ofMark Lumsden
2014-03-27Don't use nospace uninitialized in gotobop and gotoeop.Florian Obser
2014-03-20Add some missing dobeeps.Mark Lumsden
2013-06-15Move upwards passed multiple lines with no characters instead ofMark Lumsden
2013-06-01Make 'kill-paragraph' behave like emacs. ok florian@lum
2013-06-01Update the forw/backpara comments to reflect recent changes.lum
2013-06-01tidy-up int declarations as suggested by florian@lum
2013-06-01Adjust M-} (forward-paragraph) to behave like emacs.lum
2013-05-19Make the cursor position when moving backwards by paragraph behave thelum
2013-02-17Fix line counting when using forward-paragraph and backward-paragraph.lum
2011-11-29Missing wordlen check from version 1.20. Spotted by matthew@lum
2011-11-28Fix a few grating comment typos.Matthew Dempsky
2011-11-28Change behaviour of M-q (fill-paragraph) to allowlum
2009-06-04Rename w_flag to w_rflag. This is not a general purposeKjell Wooding
2009-06-02we were erroneously setting fill-column, even when the inputKjell Wooding
2008-09-15Expose the undo commands as proper mg functions.Kjell Wooding
2008-06-12Make set-fill-column interactive (and scriptable in a startup file)Kjell Wooding
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
2005-11-18greedy use of typedef struct was making code harder to read; ok kjell cloderTheo de Raadt
2005-10-18make fill-paragraph undoableKjell 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-10-24dont compare int to NULL, millert@ okAnil Madhavapeddy
2003-05-20Finish KNF of prototypes. That should be all of them.Chad Loder
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