1. 10 May, 2016 3 commits
  2. 06 May, 2016 2 commits
  3. 05 May, 2016 4 commits
  4. 04 May, 2016 7 commits
  5. 03 May, 2016 2 commits
  6. 02 May, 2016 4 commits
  7. 01 May, 2016 5 commits
  8. 29 Apr, 2016 2 commits
  9. 27 Apr, 2016 2 commits
  10. 26 Apr, 2016 2 commits
  11. 25 Apr, 2016 4 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
    • Benno Schulenberg's avatar
      scrolling: catch the special case of reading a file from standard input · 907ba3a2
      Benno Schulenberg authored
      Since commit dac0aa1d, nano would leave edittop at current after reading
      data from standard input, meaning that everything that had been read in
      was invisible, "scrolled off" the top of the screen.  Correct this by
      explicitly setting edittop.
      
      The above does not happen for ^R (^X) because it has a special mechanism
      to save and restore edittop.  Nor does it happen for ^R ^X M-F because it
      sets current to the top of the file and refreshing the screen will make
      edittop follow, or -- in case just one unterminated line was read in --
      edittop will already be equal to current.
      907ba3a2
  12. 24 Apr, 2016 3 commits