]> git.eshelyaron.com Git - emacs.git/commitdiff
(handle_face_prop, face_before_or_after_it_pos)
authorGerd Moellmann <gerd@gnu.org>
Thu, 8 Mar 2001 20:56:25 +0000 (20:56 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 8 Mar 2001 20:56:25 +0000 (20:56 +0000)
(display_string): Call face_at_string_position with new
parameter.

src/ChangeLog
src/xdisp.c

index beb0fd4f5065c7737c54fa59bfefed2450c48bae..357b78cb8f113c027f403269f3afd8b6c05bd21a 100644 (file)
@@ -1,5 +1,19 @@
 2001-03-08  Gerd Moellmann  <gerd@gnu.org>
 
+       * xterm.c (note_mouse_highlight): Handle mouse-face and 
+       help-echo in strings.
+       (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P.
+       (fast_find_string_pos): New function.
+
+       * xdisp.c (handle_face_prop, face_before_or_after_it_pos) 
+       (display_string): Call face_at_string_position with new 
+       parameter.
+
+       * xfaces.c (face_at_string_position): Add parameter MOUSE_P.
+       Handle `mouse-face'.
+
+       * dispextern.h (face_at_string_position): Change prototype.
+
        * dired.c (directory_files_internal): Handle EAGAIN more
        efficiently.
 
index 68dd53cfd9bfb886030470b12e8ef664f00867cc..3db708e15c98c0a60e56e9594d5d6336dc59101e 100644 (file)
@@ -2216,7 +2216,7 @@ handle_face_prop (it)
                                             it->region_beg_charpos,
                                             it->region_end_charpos,
                                             &next_stop,
-                                            base_face_id);
+                                            base_face_id, 0);
       
 #if 0 /* This shouldn't be neccessary.  Let's check it.  */
       /* If IT is used to display a mode line we would really like to
@@ -2324,7 +2324,7 @@ face_before_or_after_it_pos (it, before_p)
                                         it->region_beg_charpos,
                                         it->region_end_charpos,
                                         &next_check_charpos,
-                                        base_face_id);
+                                        base_face_id, 0);
 
       /* Correct the face for charsets different from ASCII.  Do it
         for the multibyte case only.  The face returned above is
@@ -13791,7 +13791,7 @@ display_string (string, lisp_string, face_string, face_string_pos,
        = face_at_string_position (it->w, face_string, face_string_pos,
                                   0, it->region_beg_charpos,
                                   it->region_end_charpos,
-                                  &endptr, it->base_face_id);
+                                  &endptr, it->base_face_id, 0);
       face = FACE_FROM_ID (it->f, it->face_id);
       it->face_box_p = face->box != FACE_NO_BOX;
     }