1. 30 May, 2016 1 commit
  2. 25 May, 2016 1 commit
  3. 18 May, 2016 1 commit
  4. 17 May, 2016 1 commit
  5. 16 May, 2016 2 commits
  6. 12 May, 2016 2 commits
  7. 04 May, 2016 3 commits
    • Benno Schulenberg's avatar
      spelling: separate the fixing of different words with a short pause · be4a3f82
      Benno Schulenberg authored
      When fixing a misspelling and not answering 'All' (but 'Yes' or 'No'),
      the chance is quite substantial that one will type y or n at the end of
      the next word.  Diminish this chance by showing for a moment a message
      on the statusbar.
      be4a3f82
    • Benno Schulenberg's avatar
      spelling: don't partition the file for replacements in a marked region · 433c7e5d
      Benno Schulenberg authored
      Partitioning the file makes the undo system lose track, so that undoing
      things has a good chance of losing data.  Instead, just make sure that
      the region is marked "backwards", with current at the top and the mark
      at the bottom, and then let the replace loop take care of not going
      outside of the marked region.
      
      This also has the effect that if the marked region fits entirely on the
      screen, or all the misspellings are onscreen, then the screen will not
      be scrolled at all.  Which makes for a smooth experience.
      
      This fixes https://savannah.gnu.org/bugs/?47836,
      and fixes https://savannah.gnu.org/bugs/?45573.
      433c7e5d
    • 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
  8. 03 May, 2016 1 commit
  9. 02 May, 2016 1 commit
    • Benno Schulenberg's avatar
      search: elide an unneeded function · 05238f31
      Benno Schulenberg authored
      When we're spell checking, we don't need a special mechanism to detect
      we have come full circle: reaching the end-of-buffer means we're done.
      So don't bother to reset came_full_circle when we're spell checking
      (when begin == NULL) but simply ignore its value.
      05238f31
  10. 01 May, 2016 1 commit
  11. 25 Apr, 2016 1 commit
  12. 11 Apr, 2016 1 commit
    • Benno Schulenberg's avatar
      screen: concentrate the setting of placewewant · aa1ae0a1
      Benno Schulenberg authored
      Instead of saving the current value of placewewant, then setting the
      new value, and then passing the old value to edit_redraw() in seven
      different places, just let edit_redraw() do this saving and setting.
      
      In the bargain placewewant is now only recalculated when it matters
      -- when allow_update is TRUE -- and not when it's superfluous.
      aa1ae0a1
  13. 10 Apr, 2016 1 commit
    • Benno Schulenberg's avatar
      search: don't set placewewant when we are just iterating · ea4e9b31
      Benno Schulenberg authored
      In the innermost search loop, don't set placewewant, because this loop
      is also used for replacing and spell fixing, when we don't really want
      to be there: we are just passing through.  Not setting placewewant means
      we don't need to save and restore it in those passing-through routines.
      
      The value of placewewant is only relevant when doing cursor movement,
      which doesn't happen during replacing nor spell checking, so there is
      no need to keep placewewant up to date -- it is set when it matters:
      at the end of go_looking().
      ea4e9b31
  14. 07 Apr, 2016 1 commit
  15. 05 Apr, 2016 1 commit
  16. 04 Apr, 2016 2 commits
  17. 31 Mar, 2016 2 commits
  18. 30 Mar, 2016 3 commits
  19. 29 Mar, 2016 3 commits
  20. 28 Mar, 2016 1 commit
  21. 20 Mar, 2016 1 commit
  22. 25 Feb, 2016 1 commit
  23. 23 Feb, 2016 2 commits
  24. 22 Feb, 2016 4 commits
  25. 18 Feb, 2016 2 commits