1
1
nano/src
Benno Schulenberg f9103a5cb5 tweaks: make the fsfromline() call only for the undo types that need it
The 'f' variable is used only in the ADD, BACK, DEL, ENTER, JOIN, and
REPLACE undo/redo cases.  So, avoid making a somewhat costly call when
it is entirely superfluous.  Rearrange the undo types to make checking
for the above six types easier.
2018-03-03 17:12:25 +01:00
..
browser.c bindings: make a key defined as string work also in browser and viewer 2018-03-01 10:55:04 +01:00
chars.c copyright: update the years for the FSF 2018-01-24 10:14:43 +01:00
color.c small addition: allow customizing the color of an error message 2018-02-23 12:35:17 +01:00
cut.c tweaks: remove two superfluous checks, and restrict two others 2018-02-14 17:29:59 +01:00
files.c prompt: show whitespace only in the filename, not in the whole line 2018-01-26 09:37:18 +01:00
global.c bindings: revert the ^/ changes, as ^/ is not always Go-To-Line 2018-03-01 09:50:54 +01:00
help.c bindings: make a key defined as string work also in browser and viewer 2018-03-01 10:55:04 +01:00
history.c copyright: update the years for the FSF 2018-01-24 10:14:43 +01:00
Makefile.am organization: move all history-related stuff to its own file 2017-09-17 12:46:36 +02:00
move.c copyright: update the years for the FSF 2018-01-24 10:14:43 +01:00
nano.c selecting: cancel the softmark upon any attempt to move the cursor 2018-02-27 18:09:00 +01:00
nano.h tweaks: make the fsfromline() call only for the undo types that need it 2018-03-03 17:12:25 +01:00
prompt.c tweaks: refactor the implanting of a key expansion 2018-02-27 13:34:32 +01:00
proto.h tweaks: refactor the implanting of a key expansion 2018-02-27 13:34:32 +01:00
rcfile.c tweaks: condense a comment and elide an 'if' 2018-03-01 11:18:56 +01:00
search.c tweaks: elide an unneeded variable 2018-02-07 19:42:19 +01:00
text.c tweaks: make the fsfromline() call only for the undo types that need it 2018-03-03 17:12:25 +01:00
utils.c memory: squeal when there is something wrong, instead of stumbling on 2018-02-07 19:34:43 +01:00
winio.c tweaks: refactor the implanting of a key expansion 2018-02-27 13:34:32 +01:00