1. 21 Jan, 2017 6 commits
  2. 20 Jan, 2017 3 commits
  3. 19 Jan, 2017 2 commits
  4. 17 Jan, 2017 1 commit
    • Benno Schulenberg's avatar
      search: begin from where we are, to be able to find the first \B · c88d7ce5
      Benno Schulenberg authored
      A search should start at the place of the cursor, not one step beyond,
      so that the non-word boundary between the current character and the next
      will be found.  Starting one step beyond the current character, as was
      done until now, would find the non-word boundary between the next and
      the overnext character as the first one.
      c88d7ce5
  5. 13 Jan, 2017 6 commits
  6. 12 Jan, 2017 6 commits
  7. 11 Jan, 2017 3 commits
  8. 10 Jan, 2017 2 commits
  9. 09 Jan, 2017 9 commits
  10. 08 Jan, 2017 2 commits
    • Benno Schulenberg's avatar
    • David Lawrence Ramsey's avatar
      weeding: remove another unnecessary setting of openfile->current_y · d35ecd02
      David Lawrence Ramsey authored
      The setting of current_y in copy_from_filestruct() also appears to be
      a holdover from the days of a more-common STATIONARY scrolling mode.
      
      do_cut_text() uses the above function when copying text (uncutting
      text again right after cutting it).  Since the text is effectively
      the same afterward, current_y doesn't need to change.
      
      do_uncut_text(), however, does need current_y up to date in one case:
      when uncutting a full screen or less' worth of lines, focusing will be
      FALSE, and it uses edit_refresh(), so it will use STATIONARY scrolling
      mode then.  Take a cue from do_insertfile() and call reset_cursor() to
      get an updated current_y.
      
      (Note that the check for a full screen or less' worth of lines uses
      incorrect values when in softwrap mode, but that's a separate problem.)
      
      undo_cut(), do_redo(), and backup_lines() do not need set current_y
      because they all result in edit_refresh() with focusing = TRUE, so
      they do a CENTERING scroll which does not need current_y.
      d35ecd02