emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117504: Fix block cursor display in R2L lines.


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-24 r117504: Fix block cursor display in R2L lines.
Date: Tue, 16 Sep 2014 15:45:34 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117504
revision-id: address@hidden
parent: address@hidden
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Tue 2014-09-16 18:44:51 +0300
message:
  Fix block cursor display in R2L lines.
  
   src/xterm.c (x_draw_stretch_glyph_string):
   src/w32term.c (x_draw_stretch_glyph_string): Fix a thinko that
   caused the block cursor to disappear on a TAB in R2L lines in
   every window except the leftmost one.  Reported by Martin Rudalics
   <address@hidden>.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/w32term.c                  w32term.c-20091113204419-o5vbwnq5f7feedwu-950
  src/xterm.c                    xterm.c-20091113204419-o5vbwnq5f7feedwu-244
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-09-16 04:07:51 +0000
+++ b/src/ChangeLog     2014-09-16 15:44:51 +0000
@@ -1,3 +1,11 @@
+2014-09-16  Eli Zaretskii  <address@hidden>
+
+       * xterm.c (x_draw_stretch_glyph_string):
+       * w32term.c (x_draw_stretch_glyph_string): Fix a thinko that
+       caused the block cursor to disappear on a TAB in R2L lines in
+       every window except the leftmost one.  Reported by Martin Rudalics
+       <address@hidden>.
+
 2014-09-16  Dmitry Antipov  <address@hidden>
 
        Always use matched specpdl entry to record call arguments (Bug#18473).

=== modified file 'src/w32term.c'
--- a/src/w32term.c     2014-05-24 17:59:22 +0000
+++ b/src/w32term.c     2014-09-16 15:44:51 +0000
@@ -2227,7 +2227,7 @@
        {
          /* In R2L rows, draw the cursor on the right edge of the
             stretch glyph.  */
-         int right_x = window_box_right_offset (s->w, TEXT_AREA);
+         int right_x = window_box_right (s->w, TEXT_AREA);
 
          if (x + background_width > right_x)
            background_width -= x - right_x;

=== modified file 'src/xterm.c'
--- a/src/xterm.c       2014-08-02 21:31:18 +0000
+++ b/src/xterm.c       2014-09-16 15:44:51 +0000
@@ -2475,7 +2475,7 @@
        {
          /* In R2L rows, draw the cursor on the right edge of the
             stretch glyph.  */
-         int right_x = window_box_right_offset (s->w, TEXT_AREA);
+         int right_x = window_box_right (s->w, TEXT_AREA);
 
          if (x + background_width > right_x)
            background_width -= x - right_x;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]