1. 16 Jun, 2014 1 commit
  2. 15 Jun, 2014 1 commit
  3. 14 Jun, 2014 2 commits
  4. 11 Jun, 2014 1 commit
  5. 25 May, 2014 1 commit
  6. 24 May, 2014 3 commits
  7. 21 May, 2014 1 commit
  8. 18 Apr, 2014 1 commit
  9. 17 Apr, 2014 1 commit
  10. 12 Apr, 2014 1 commit
    • Eli Zaretskii's avatar
      Fix bug #17244 with line-move-visual when display string covers a lot of text. · 180c8ce0
      Eli Zaretskii authored
       src/xdisp.c (move_it_by_lines): If a large portion of buffer text is
       covered by a display string that ends in a newline, and that cases
       going back by DVPOS lines to hit the search limit, lift the limit
       and go back until DVPOS is reached.
       src/indent.c (Fvertical_motion): Handle correctly the case when the
       display string is preceded by an empty line.
      180c8ce0
  11. 23 Mar, 2014 1 commit
  12. 20 Mar, 2014 1 commit
  13. 09 Mar, 2014 1 commit
    • Martin Rudalics's avatar
      Update docs for window dividers and `window-text-pixel-size'. · 7e940b65
      Martin Rudalics authored
      * xdisp.c (Fwindow_text_pixel_size): Adjust doc-string.
      * elisp.texi (Top): Rename section "Width" to "Size of Displayed
      Text".
      * text.texi (Primitive Indent):
      * strings.texi (String Basics):
      * sequences.texi (Sequence Functions): Update references
      accordingly.
      * display.texi (Size of Displayed Text): Rename section from
      "Width".  Add description for `window-text-pixel-size'.
      (Window Dividers): Reword description of window dividers.
      * frames.texi (Layout Parameters): Improve description of window
      divider parameters.
      * windows.texi (Window Sizes): Add descriptions of
      `window-mode-line-height' and `window-header-line-height'.
      (Coordinates and Windows): Mention window dividers.
      7e940b65
  14. 08 Mar, 2014 2 commits
    • Eli Zaretskii's avatar
      src/xdisp.c (Fmove_point_visually): Fix previous change. · 281ae180
      Eli Zaretskii authored
      Fixes: debbugs:16961
      281ae180
    • Eli Zaretskii's avatar
      Fix more failures of visual-order cursor movement under word-wrap (bug#16961). · 2c65ad21
      Eli Zaretskii authored
       src/xdisp.c (move_it_in_display_line_to): If word-wrap is ON, and
       there's a valid wrap point in the display line, the last glyph
       cannot "just barely fit" on this row, because display_line doesn't
       let it.  Instead, proceed as if the last glyph didn't fit, so that
       we eventually back up the iterator to the wrap point.  This avoids
       delusional behavior of move_it_to, whereby it proceeds to the next
       display line, but sets current_x to zero for all the glyphs that
       without word-wrap would fit on the previous display line.  One
       result was that visual-order cursor movement behaved erratically
       under word-wrap.
       (Fmove_point_visually): Add code to find the x coordinate of the
       last character before wrap point, under word-wrap on a TTY.
      2c65ad21
  15. 07 Mar, 2014 1 commit
  16. 28 Feb, 2014 1 commit
  17. 27 Feb, 2014 2 commits
    • Martin Rudalics's avatar
      More fixes for mouse glyph calculations (Bug#16647). · 653b6ea3
      Martin Rudalics authored
      More fixes for mouse glyph calculations (Bug#16647).
      * window.c (coordinates_in_window): In intersection of
      horizontal and vertical window dividers prefer the horizontal
      one.  Add some extra parens to last fix.
      (window_relative_x_coord): Return x-coordinate for header and
      mode line too.
      * xdisp.c (remember_mouse_glyph): In text area don't extend
      glyph into mode line to show the vertical drag cursor there
      immediately.  Subdivide mouse glyphs in right fringes to show a
      horizontal drag cursor as soon as we enter the "grabbable width"
      portion.  Handle vertical border case separately.  Do not
      subdivide window divider areas.
      (note_mouse_highlight): On bottom divider of bottommost windows
      show vertical drag cursor only when the minibuffer window can be
      resized.
      653b6ea3
    • Eli Zaretskii's avatar
      Fix bug #16870 with 'box' face in display strings. · 11de63ed
      Eli Zaretskii authored
       src/xdisp.c (pop_it): Restore the it->face_box_p flag which could be
       reset by the face of the object just displayed.  See also bug#76.
       (get_next_display_element): If the string came from a display
       property, examine the box face attribute at it->position, not at
       it->current.pos, since the latter was not updated yet.
       (handle_face_prop): Improve commentary.
      11de63ed
  18. 26 Feb, 2014 1 commit
    • Martin Rudalics's avatar
      Fixes around Bug#16647. · aea124c4
      Martin Rudalics authored
      * xdisp.c (remember_mouse_glyph): Handle ON_RIGHT_DIVIDER and
      ON_BOTTOM_DIVIDER cases.
      * window.c (coordinates_in_window): Return ON_VERTICAL_BORDER
      only if the window has no right divider.
      (Fcoordinates_in_window_p): Fix doc-string.
      aea124c4
  19. 21 Feb, 2014 1 commit
  20. 20 Feb, 2014 3 commits
  21. 19 Feb, 2014 1 commit
  22. 08 Feb, 2014 1 commit
  23. 07 Feb, 2014 1 commit
  24. 05 Feb, 2014 3 commits
  25. 04 Feb, 2014 1 commit
    • Martin Rudalics's avatar
      Improve window dividers code. · 764ec9e5
      Martin Rudalics authored
      * faces.el (window-divider): New default value.  Rewrite
      doc-string.
      (window-divider-first-pixel, window-divider-last-pixel): New
      faces.
      * dispextern.h (face_id): Add WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID
      and WINDOW_DIVIDER_LAST_PIXEL_FACE_ID.
      * w32term.c (w32_draw_window_divider): Handle first and last
      pixels specially.
      * w32term.h (w32_fill_area_abs): New function.
      * xdisp.c (x_draw_right_divider): Don't draw over bottom
      divider.
      * xfaces.c (realize_basic_faces): Handle new face ids.
      * xfns.c (Fx_create_frame): Call x_default_parameter for right
      and bottom divider width.
      * xterm.c (x_draw_window_divider): Handle first and last pixels
      specially.
      764ec9e5
  26. 28 Jan, 2014 1 commit
    • Martin Rudalics's avatar
      Fix Fwindow_text_pixel_size and fit-frame-to-buffer. · 1dcb169c
      Martin Rudalics authored
      * xdisp.c (last_max_ascent): Re-remove after erroneously
      reintroducing it on 2013-11-30 and abolishing Dmitry's removal
      from 2013-03-29.
      (move_it_to): Re-remove reference to last_max_ascent.
      (Fwindow_text_pixel_size): Add iterator's max_ascent and
      max_descent here instead of calling line_bottom_y.  Fix
      doc-string.
      
      * window.el (fit-frame-to-buffer): Fix calculations for margins and
      height constraints.
      1dcb169c
  27. 25 Jan, 2014 1 commit
  28. 24 Jan, 2014 1 commit
  29. 13 Jan, 2014 1 commit
  30. 11 Jan, 2014 2 commits