- 27 Jul, 2004 2 commits
-
-
David Lawrence Ramsey authored
into a new terminal_init() function, and convert nano to use it; also, when reloading the newly spell-checked temporary file in do_alt_speller(), call terminal_init() to make sure that all the original terminal settings are restored, as a curses-based alternative spell checker (e.g. aspell) can change them git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1866 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
outside the ENABLE_NLS #ifdef, since UTF-8 support (specifically, the wide character handling functions it needs) won't work properly if the locale isn't set, whether NLS is enabled or not git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1865 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 23 Jul, 2004 1 commit
-
-
David Lawrence Ramsey authored
importantly, a fix for a segfault when trying to full-justify a file with no paragraphs) git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1862 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 18 Jul, 2004 1 commit
-
-
David Lawrence Ramsey authored
entries are specified for them git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1860 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 17 Jul, 2004 1 commit
-
-
David Lawrence Ramsey authored
per DB's patch, and make a few more minor cosmetic cleanups git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1857 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 13 Jul, 2004 1 commit
-
-
David Lawrence Ramsey authored
in the main input loop to the top, and remove the apparently unneeded wrefresh() call in the main input loop git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1855 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 12 Jul, 2004 1 commit
-
-
David Lawrence Ramsey authored
changes of mine, and add a few related variable type changes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1853 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 11 Jul, 2004 1 commit
-
-
David Lawrence Ramsey authored
macro to mark strings that aren't translated immediately and convert nano to use it where needed, overhaul the shortcut list and toggle list initialization code for efficiency, and replace rcfile_msg() with rcfile_error(); also add a few minor miscellaneous cleanups by DB and myself git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1852 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 08 Jul, 2004 1 commit
-
-
David Lawrence Ramsey authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1849 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 05 Jul, 2004 1 commit
-
-
David Lawrence Ramsey authored
completion at the "Write File" prompt, since we can't change the filename in that case; also remove an unneeded trailing space git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1842 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 03 Jul, 2004 2 commits
-
-
David Lawrence Ramsey authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1841 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
indicate when we've moved to the next line after justifying the current line, and only run the respacing routine when it's true; this keeps the respacing routine from erroneously being run more than once on the same line git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1840 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 02 Jul, 2004 3 commits
-
-
David Lawrence Ramsey authored
moved to the current line and the next line has been deleted, continue the justification loop from there and skip the respacing routine in order to avoid running it more than once on the same line (since it assumes that we've moved to the next line, which isn't true in that case) git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1839 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1837 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
functions and most related functions to return void instead of int, as the return values of all those functions are essentially unused; also add a few related miscellaneous cleanups git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1836 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 01 Jul, 2004 2 commits
-
-
David Lawrence Ramsey authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1835 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1834 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 26 Jun, 2004 1 commit
-
-
David Lawrence Ramsey authored
fix some inaccuracies and eliminate the need for recursion; it now uses almost the same logic as the code to search for the end of a paragraph, which makes it somewhat easier to understand git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1823 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 24 Jun, 2004 2 commits
-
-
David Lawrence Ramsey authored
that full justification doesn't erroneously justify non-paragraph lines in the file git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1815 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1814 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 22 Jun, 2004 1 commit
-
-
David Lawrence Ramsey authored
of DB's do_wrap() tweaks (the initialization of new_line_wrap to 0), and wrap a few overly long comments git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1813 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 12 Jun, 2004 1 commit
-
-
David Lawrence Ramsey authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1808 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 09 Jun, 2004 2 commits
-
-
David Lawrence Ramsey authored
problems if the original paragraph was one line long and ended with a tab or tabs; unjustification would restore the justify_format()ted line instead of the original line git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1806 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
"-E [dir]/--backupdir=[dir]" strings in usage() git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1805 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 05 Jun, 2004 1 commit
-
-
David Lawrence Ramsey authored
on the end of it, the space should be removed git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1804 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 31 May, 2004 1 commit
-
-
David Lawrence Ramsey authored
some ints to size_t's and convert the int wrapping to use TRUE and FALSE since it's used as a boolean) git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1793 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 29 May, 2004 6 commits
-
-
David Lawrence Ramsey authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1788 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
rcopts[i].name's being "tabsize" (to avoid a spurious error under some circumstances about tabsize's being 0 when there's no tabsize entry in the rcfile) git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1785 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1784 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
justification) via the rcfile git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1783 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
displaying other characters, specified in the rcfile, for the first characters of tabs and spaces git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1782 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
cut.c instead of a flag, and unset it in other files via the new function cutbuffer_reset() git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1781 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 28 May, 2004 6 commits
-
-
David Lawrence Ramsey authored
and why git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1778 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
alternative spell checker if we're in restricted mode, since both backups and spell checking are disabled then git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1777 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
the command line and/or rcfile, as Pico does git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1776 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1775 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
unneeded screen redraws git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1774 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
input and state machines that interpret the input git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1773 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 27 May, 2004 2 commits
-
-
David Lawrence Ramsey authored
TRUE (and hence no longer take a namechange parameter itself) to fix a bug where writing a selection would change the current filename, and make die_save_file() do the same since we don't need to change the current filename if we're writing emergency backup files git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1770 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
David Lawrence Ramsey authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1769 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-