1. 13 Aug, 2017 2 commits
  2. 08 Aug, 2017 1 commit
  3. 06 Aug, 2017 3 commits
  4. 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
  5. 17 Jul, 2017 2 commits
  6. 13 Jul, 2017 1 commit
  7. 11 Jul, 2017 2 commits
  8. 09 Jul, 2017 1 commit
  9. 07 Jul, 2017 1 commit
    • David Lawrence Ramsey's avatar
      softwrap: add new functions for chunks of varying width · e375995d
      David Lawrence Ramsey authored
      get_chunk_row() replaces the formula "column / editwincols".
      
      get_chunk_leftedge() replaces "(column / editwincols) * editwincols".
      
      get_last_chunk_row() replaces "strlenpt() / editwincols".
      
      get_last_chunk_leftedge() replaces "(strlenpt() / editwincols) * editwincols".
      
      This prepares us for any changes in those formulas, and for more such
      functions later.
      e375995d
  10. 02 Jul, 2017 1 commit
  11. 29 Jun, 2017 1 commit
  12. 17 May, 2017 1 commit
  13. 16 May, 2017 2 commits
  14. 11 May, 2017 1 commit
  15. 09 May, 2017 1 commit
  16. 08 May, 2017 3 commits
  17. 07 May, 2017 1 commit
  18. 01 May, 2017 2 commits
  19. 30 Apr, 2017 1 commit
  20. 25 Apr, 2017 2 commits
  21. 19 Apr, 2017 3 commits
  22. 17 Apr, 2017 1 commit
  23. 09 Apr, 2017 1 commit
    • Benno Schulenberg's avatar
      copyright: update the years, use ranges, and explain this usage · 754c62c5
      Benno Schulenberg authored
      The interval 2013-2017 for the Free Software Foundation is valid
      because in those years there were releases with changes by either
      Chris or David, and the GNU maintainers guide advises to mention
      a new year in all files of a package, not just in the ones that
      actually changed, and be done with it for the rest of the year.
      754c62c5
  24. 04 Apr, 2017 4 commits
  25. 24 Mar, 2017 1 commit