From: Gerd Moellmann Date: Thu, 8 Mar 2001 20:56:25 +0000 (+0000) Subject: (handle_face_prop, face_before_or_after_it_pos) X-Git-Tag: emacs-pretest-21.0.100~112 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5de7c6f2360dddb513582c10a1d7d656a388e35f;p=emacs.git (handle_face_prop, face_before_or_after_it_pos) (display_string): Call face_at_string_position with new parameter. --- diff --git a/src/ChangeLog b/src/ChangeLog index beb0fd4f506..357b78cb8f1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,19 @@ 2001-03-08 Gerd Moellmann + * 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. diff --git a/src/xdisp.c b/src/xdisp.c index 68dd53cfd9b..3db708e15c9 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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; }