1. 14 Aug, 2017 4 commits
  2. 13 Aug, 2017 6 commits
  3. 10 Aug, 2017 1 commit
  4. 08 Aug, 2017 4 commits
  5. 06 Aug, 2017 8 commits
  6. 03 Aug, 2017 1 commit
  7. 31 Jul, 2017 1 commit
  8. 29 Jul, 2017 2 commits
  9. 27 Jul, 2017 4 commits
  10. 26 Jul, 2017 1 commit
  11. 25 Jul, 2017 1 commit
  12. 24 Jul, 2017 1 commit
    • David Lawrence Ramsey's avatar
      weeding: drop the forreal parameter from place_the_cursor() · 381a386b
      David Lawrence Ramsey authored
      Commit 28beb3f9 added the 'forreal' parameter to prevent spotlight() from
      placing the cursor wrongly due to an invalid placewewant.  However, since
      the variable-width softwrap overhaul (specifically, since commit 8490f4ac),
      place_the_cursor() no longer checks placewewant, so the parameter is no
      longer needed.
      
      Furthermore, dropping 'forreal' and thus always setting current_y won't
      affect the operation of spotlight(), since the only functions that use
      spotlight() (do_replace_loop() and do_int_spell_fix()) both call
      edit_refresh() beforehand, which means that current_y will already
      have been set to the value it will be set to again.
      381a386b
  13. 23 Jul, 2017 1 commit
    • David Lawrence Ramsey's avatar
      tweaks: set the target row for smooth scrolling more directly · 6f9bb53b
      David Lawrence Ramsey authored
      The function place_the_cursor() assumes that the viewport is up to date,
      i.e., that current is in range of edittop.  When uncutting or inserting,
      however, place_the_cursor() gets called on the out-of-date viewport
      first, and then a screen refresh is scheduled (which would put the
      viewport up to date).  This is backwards: the refresh should come before
      the cursor placement, and the only reason it works anyway is because the
      cap on the number of chunks to move backward papers over the problem by
      keeping current_y in screen range regardless.
      
      Fix this properly by simply setting current_y to the bottom row of the
      screen instead of calling place_the_cursor().  This value of current_y
      is only ever used when in smooth scrolling mode and the insertion (or
      paste) pushed the cursor offscreen.  In other situations, this value is
      overridden when place_the_cursor() gets called after a screen refresh.
      
      After that fix, the cap on the number of chunks to move backward is no
      longer needed.
      6f9bb53b
  14. 21 Jul, 2017 2 commits
  15. 20 Jul, 2017 2 commits
  16. 19 Jul, 2017 1 commit