mode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1772
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
- Remove apparently unneeded leaveok() calls. (David Benbennick)
edit_refresh_clearok(), center_cursor()
- Removed, as they are now unnecessary. (David Benbennick)
+ statusq()
+ - Don't allow "Full Justify" when in view mode. (DLR)
statusbar()
- Call reset_cursor() just before refreshing the edit window, so
that slang and other non-ncurses versions of curses will
resetstatuspos = 1;
break;
case NANO_FULLJUSTIFY_KEY:
- do_full_justify();
+ if (!ISSET(VIEW_MODE))
+ do_full_justify();
resetstatuspos = 1;
break;
#endif