summaryrefslogtreecommitdiff
path: root/usr.bin/mg/line.c
AgeCommit message (Expand)Author
2015-06-03Remove unused defines and functions.Brian Callahan
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-03-20Add some missing dobeeps.Mark Lumsden
2013-12-23Fix two dotline bugs for the price of one.Florian Obser
2013-06-01The k*() functions were moved to yank.c in 2005. Update the comment tolum
2011-01-18Obvious error on my part.Kjell Wooding
2009-11-12fix memory leak found by parfait; ok jsg@Todd C. Miller
2009-06-05emacs handles the undo of a region kill (C-w) differently than a line killKjell Wooding
2009-06-04Rename w_flag to w_rflag. This is not a general purposeKjell Wooding
2008-09-15Expose the undo commands as proper mg functions.Kjell Wooding
2008-09-15Enable dirty buffer detection in mg.Kjell Wooding
2006-12-24Fix a bug where inserting a file resulted in an incorrectKjell 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-01Display line number in the mg statusbar. Yes, it seems like a fuglyKjell Wooding
2006-05-28Make Window Flags more mnemonic (and less dumb); i.e.Kjell Wooding
2006-05-27Move mg "line to c-string" functionality to a function.Kjell Wooding
2005-12-20Clean up the ugly casted frees. In one case, this meant eliminating a nastyKjell Wooding
2005-12-20Do some delinting of strl-type functions. Also, remove a superfluousKjell Wooding
2005-12-20Fix broken "Undo of undo" when line is empty. Noticed by theo.Kjell Wooding
2005-12-13do some silly de-lintingKjell Wooding
2005-11-22Move kill-related commands to their own file.Kjell Wooding
2005-11-22Fix backwards insert into kill buffer (aaa \n bbb M-BS M-BS c-Y) byKjell Wooding
2005-11-21kill kill kill unused stuff; ok kjellTheo de Raadt
2005-11-20toast NO_DIRED #ifdef; ok kjellTheo de Raadt
2005-11-18Split kill buffer code into a separate function.Kjell Wooding
2005-11-18greedy use of typedef struct was making code harder to read; ok kjell cloderTheo de Raadt
2005-11-18Casefold on replace was killed ages ago (it was wrong). Remove aKjell Wooding
2005-11-18Kill a stupid interface. kgrow should take direction, not TRUE/FALSE.Kjell Wooding
2005-10-13spacingTheo de Raadt
2005-10-06Make mg undo much more emacs like (and correct).Kjell 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
2004-07-09when saving a file, check whether it is newline terminated and if it is not,Vincent Labrecque
2004-01-27make mail-mode more intelligent on middle-of-line insertions, and add aVincent Labrecque
2003-11-09remove the only use of the hackish undo_add_custom function.Vincent Labrecque
2003-04-16lalloc() - return NULL on error, not FALSETodd C. Miller
2002-07-01KNF + ansi; from zyrnix (only the easy part of his diffs)Vincent Labrecque
2002-03-18 Enter the new undo code. it is still disabled since it has bugs, but it'sVincent Labrecque
2002-03-16 add readonly buffer supportVincent Labrecque
2002-02-21 Save undo records for newline insertions.Vincent Labrecque
2002-02-20 Add undo code to mg.Vincent Labrecque
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-02-14some KNFTheo de Raadt
2002-02-14 Oups, my chartypes commit broke this.Vincent Labrecque
2002-02-13 Make mg malloc the l_text element instead of reallocating whole LINEVincent Labrecque
2001-05-24spacesMichael Shalayeff
2001-05-23Get rid of unnecessary casts of NULL.Artur Grabowski