Mercurial > emacs
comparison src/fringe.c @ 58532:6fee0102eafe
(update_window_fringes): Prefer truncation bitmaps over
angle bitmaps at top/bottom line.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 26 Nov 2004 15:14:16 +0000 |
parents | 4e571414ba22 |
children | 8f5e8e079790 549734260e34 f2ebccfa87d4 |
comparison
equal
deleted
inserted
replaced
58531:7ca318a97cf0 | 58532:6fee0102eafe |
---|---|
888 else if (row->left_user_fringe_bitmap != NO_FRINGE_BITMAP) | 888 else if (row->left_user_fringe_bitmap != NO_FRINGE_BITMAP) |
889 { | 889 { |
890 left = row->left_user_fringe_bitmap; | 890 left = row->left_user_fringe_bitmap; |
891 left_face_id = row->left_user_fringe_face_id; | 891 left_face_id = row->left_user_fringe_face_id; |
892 } | 892 } |
893 else if (row->truncated_on_left_p) | |
894 left = LEFT_TRUNCATION_BITMAP; | |
893 else if (row->indicate_bob_p && EQ (boundary_top, Qleft)) | 895 else if (row->indicate_bob_p && EQ (boundary_top, Qleft)) |
894 left = ((row->indicate_eob_p && EQ (boundary_bot, Qleft)) | 896 left = ((row->indicate_eob_p && EQ (boundary_bot, Qleft)) |
895 ? LEFT_BRACKET_BITMAP : TOP_LEFT_ANGLE_BITMAP); | 897 ? LEFT_BRACKET_BITMAP : TOP_LEFT_ANGLE_BITMAP); |
896 else if (row->indicate_eob_p && EQ (boundary_bot, Qleft)) | 898 else if (row->indicate_eob_p && EQ (boundary_bot, Qleft)) |
897 left = BOTTOM_LEFT_ANGLE_BITMAP; | 899 left = BOTTOM_LEFT_ANGLE_BITMAP; |
898 else if (row->truncated_on_left_p) | |
899 left = LEFT_TRUNCATION_BITMAP; | |
900 else if (MATRIX_ROW_CONTINUATION_LINE_P (row)) | 900 else if (MATRIX_ROW_CONTINUATION_LINE_P (row)) |
901 left = CONTINUATION_LINE_BITMAP; | 901 left = CONTINUATION_LINE_BITMAP; |
902 else if (row->indicate_empty_line_p && EQ (empty_pos, Qleft)) | 902 else if (row->indicate_empty_line_p && EQ (empty_pos, Qleft)) |
903 left = ZV_LINE_BITMAP; | 903 left = ZV_LINE_BITMAP; |
904 else if (row->indicate_top_line_p && EQ (arrow_top, Qleft)) | 904 else if (row->indicate_top_line_p && EQ (arrow_top, Qleft)) |
914 else if (row->right_user_fringe_bitmap != NO_FRINGE_BITMAP) | 914 else if (row->right_user_fringe_bitmap != NO_FRINGE_BITMAP) |
915 { | 915 { |
916 right = row->right_user_fringe_bitmap; | 916 right = row->right_user_fringe_bitmap; |
917 right_face_id = row->right_user_fringe_face_id; | 917 right_face_id = row->right_user_fringe_face_id; |
918 } | 918 } |
919 else if (row->truncated_on_right_p) | |
920 right = RIGHT_TRUNCATION_BITMAP; | |
919 else if (row->indicate_bob_p && EQ (boundary_top, Qright)) | 921 else if (row->indicate_bob_p && EQ (boundary_top, Qright)) |
920 right = ((row->indicate_eob_p && EQ (boundary_bot, Qright)) | 922 right = ((row->indicate_eob_p && EQ (boundary_bot, Qright)) |
921 ? RIGHT_BRACKET_BITMAP : TOP_RIGHT_ANGLE_BITMAP); | 923 ? RIGHT_BRACKET_BITMAP : TOP_RIGHT_ANGLE_BITMAP); |
922 else if (row->indicate_eob_p && EQ (boundary_bot, Qright)) | 924 else if (row->indicate_eob_p && EQ (boundary_bot, Qright)) |
923 right = BOTTOM_RIGHT_ANGLE_BITMAP; | 925 right = BOTTOM_RIGHT_ANGLE_BITMAP; |
924 else if (row->truncated_on_right_p) | |
925 right = RIGHT_TRUNCATION_BITMAP; | |
926 else if (row->continued_p) | 926 else if (row->continued_p) |
927 right = CONTINUED_LINE_BITMAP; | 927 right = CONTINUED_LINE_BITMAP; |
928 else if (row->indicate_top_line_p && EQ (arrow_top, Qright)) | 928 else if (row->indicate_top_line_p && EQ (arrow_top, Qright)) |
929 right = UP_ARROW_BITMAP; | 929 right = UP_ARROW_BITMAP; |
930 else if (row->indicate_bottom_line_p && EQ (arrow_bot, Qright)) | 930 else if (row->indicate_bottom_line_p && EQ (arrow_bot, Qright)) |