1. 23 May, 2016 3 commits
  2. 22 May, 2016 2 commits
  3. 21 May, 2016 6 commits
  4. 18 May, 2016 4 commits
  5. 16 May, 2016 1 commit
    • Benno Schulenberg's avatar
      statusbar: prevent error messages from overwriting each other · 2535f51e
      Benno Schulenberg authored
      If during startup there are multiple error messages, currently only the
      last one remains and can be read.  To improve on that, introduce a short
      pause between error messages -- even if it's not enough to read them all,
      at least the user will be aware that there are multiple ones.
      
      This also causes a few error messages to beep that currently don't beep,
      such as when a file is unwritable.
      2535f51e
  6. 04 May, 2016 1 commit
    • Benno Schulenberg's avatar
      scrolling: center the cursor when inserted stuff does not fit on screen · 318ed6b1
      Benno Schulenberg authored
      Since nano-2.4.1, reading in or pasting a large piece of text would put
      the cursor on the bottom line, leaving only one line of the non-read or
      non-pasted text visible.  This is different from the centering behavior
      of Pico, and somewhat disorienting, as you can't see "where you are" any
      more in relation to the file as it was.
      
      So now center the cursor whenever the read or pasted text is larger than
      the screen, but don't center it when the text fits entirely on the screen.
      (The latter avoids the effect of the screen jumping unnecessarily when
      inserting just a few lines while the cursor is near the bottom.)
      
      To achieve this behavior: default to focusing, and temporarily set it to
      FALSE when the focusing effect is unwanted.
      
      This fixes https://savannah.gnu.org/bugs/?47841.
      318ed6b1
  7. 02 May, 2016 1 commit
  8. 26 Apr, 2016 2 commits
  9. 25 Apr, 2016 3 commits
    • Benno Schulenberg's avatar
      screen: rename 'edit_refresh_needed' to 'refresh_needed' · 53f4a9f5
      Benno Schulenberg authored
      For a little contrast with the function edit_refresh() -- it's
      annoying that when you search for the latter you get to see all
      the settings of the flag too.
      53f4a9f5
    • Benno Schulenberg's avatar
      screen: don't always set 'edit_refresh_needed' when adjusting edittop · b97c36c2
      Benno Schulenberg authored
      The function edit_update() is called by edit_refresh() itself, so it is
      silly that the first sets 'edit_refresh_needed' to TRUE.  This setting
      is needed only in a few cases -- in the others it's not needed because
      the screen does not need to be refreshed (it was just about positioning
      the cursor), or 'edit_refresh_needed' has already been set by a call to
      goto_line_posx().  So, just set the flag in the five places that need it
      and spare the other four calls.
      b97c36c2
    • Benno Schulenberg's avatar
      tabbing: make sure to refresh the edit window when returning to it · 3e1d2b90
      Benno Schulenberg authored
      Since commit 41ed6907, cancelling a prompt after tabbing would sometimes
      leave the list of file names on the screen.  When testing this first,
      it worked fine -- I was fooled again by 'edit_refresh_needed' already
      being TRUE when nano has just started up and sits waiting for the first
      key stroke.  I have to hunt this down and kill it.
      3e1d2b90
  10. 24 Apr, 2016 3 commits
  11. 23 Apr, 2016 6 commits
  12. 17 Apr, 2016 8 commits