aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPavel Janík2002-01-14 14:27:34 +0000
committerPavel Janík2002-01-14 14:27:34 +0000
commit54bff0bd3c6125e9ba5541420f35a6fbcade25ed (patch)
tree05fd7802328f98d6379b7817b672ee361719e87f /src
parent7b32356beed60bb402e5ae659052a925d6782853 (diff)
downloademacs-54bff0bd3c6125e9ba5541420f35a6fbcade25ed.tar.gz
emacs-54bff0bd3c6125e9ba5541420f35a6fbcade25ed.zip
Fix typos.
Diffstat (limited to 'src')
-rw-r--r--src/dispextern.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index 56f3f2bbbc5..99ee1368182 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -295,7 +295,7 @@ struct glyph
295 /* Type of font used to display the character glyph. Used to 295 /* Type of font used to display the character glyph. Used to
296 determine which set of functions to use to obtain font metrics 296 determine which set of functions to use to obtain font metrics
297 for the glyph. Value should be an enumerator of the type 297 for the glyph. Value should be an enumerator of the type
298 w32_char_font_type. */ 298 w32_char_font_type. */
299 unsigned w32_font_type : 2; 299 unsigned w32_font_type : 2;
300#endif 300#endif
301 301
@@ -375,7 +375,7 @@ struct glyph
375 375
376/* Construct a glyph code from a character glyph GLYPH. If the 376/* Construct a glyph code from a character glyph GLYPH. If the
377 character is multibyte, return -1 as we can't use glyph table for a 377 character is multibyte, return -1 as we can't use glyph table for a
378 multibyte character. */ 378 multibyte character. */
379 379
380#define GLYPH_FROM_CHAR_GLYPH(GLYPH) \ 380#define GLYPH_FROM_CHAR_GLYPH(GLYPH) \
381 ((GLYPH).u.ch < 256 \ 381 ((GLYPH).u.ch < 256 \
@@ -575,7 +575,7 @@ struct glyph_row
575 to any text; it is some buffer position if the row corresponds to 575 to any text; it is some buffer position if the row corresponds to
576 an empty display line that displays a line end. This is what old 576 an empty display line that displays a line end. This is what old
577 redisplay used to do. (Except in code for terminal frames, this 577 redisplay used to do. (Except in code for terminal frames, this
578 kludge is no longer use, I believe. --gerd). 578 kludge is no longer used, I believe. --gerd).
579 579
580 See also start, end, displays_text_p and ends_at_zv_p for cleaner 580 See also start, end, displays_text_p and ends_at_zv_p for cleaner
581 ways to do it. The special meaning of positions 0 and -1 will be 581 ways to do it. The special meaning of positions 0 and -1 will be
@@ -667,12 +667,12 @@ struct glyph_row
667 of lbearing or rbearing. */ 667 of lbearing or rbearing. */
668 unsigned contains_overlapping_glyphs_p : 1; 668 unsigned contains_overlapping_glyphs_p : 1;
669 669
670 /* 1 means this row is a wide as the window it is displayed in, including 670 /* 1 means this row is as wide as the window it is displayed in, including
671 scroll bars, fringes, and internal borders. This also 671 scroll bars, fringes, and internal borders. This also
672 implies that the row doesn't have marginal areas. */ 672 implies that the row doesn't have marginal areas. */
673 unsigned full_width_p : 1; 673 unsigned full_width_p : 1;
674 674
675 /* Non-zero means row is a mode or top-line. */ 675 /* Non-zero means row is a mode or header-line. */
676 unsigned mode_line_p : 1; 676 unsigned mode_line_p : 1;
677 677
678 /* 1 in a current row means this row is overlapped by another row. */ 678 /* 1 in a current row means this row is overlapped by another row. */
@@ -685,7 +685,7 @@ struct glyph_row
685 685
686 /* 1 means this line starts in the middle of a character consisting 686 /* 1 means this line starts in the middle of a character consisting
687 of more than one glyph. Some glyphs have been put in the 687 of more than one glyph. Some glyphs have been put in the
688 previoius row, the rest are put in this row. */ 688 previous row, the rest are put in this row. */
689 unsigned starts_in_middle_of_char_p : 1; 689 unsigned starts_in_middle_of_char_p : 1;
690 690
691 /* 1 in a current row means this row overlaps others. */ 691 /* 1 in a current row means this row overlaps others. */
@@ -719,7 +719,7 @@ struct glyph_row *matrix_row P_ ((struct glyph_matrix *, int));
719#define MATRIX_MODE_LINE_ROW(MATRIX) \ 719#define MATRIX_MODE_LINE_ROW(MATRIX) \
720 ((MATRIX)->rows + (MATRIX)->nrows - 1) 720 ((MATRIX)->rows + (MATRIX)->nrows - 1)
721 721
722/* Return a pointer to the row reserved for the top line in MATRIX. 722/* Return a pointer to the row reserved for the header line in MATRIX.
723 This is always the first row in MATRIX because that's the only 723 This is always the first row in MATRIX because that's the only
724 way that works in frame-based redisplay. */ 724 way that works in frame-based redisplay. */
725 725
@@ -748,7 +748,7 @@ struct glyph_row *matrix_row P_ ((struct glyph_matrix *, int));
748#define MATRIX_ROW_START_CHARPOS(ROW) ((ROW)->start.pos.charpos) 748#define MATRIX_ROW_START_CHARPOS(ROW) ((ROW)->start.pos.charpos)
749#define MATRIX_ROW_START_BYTEPOS(ROW) ((ROW)->start.pos.bytepos) 749#define MATRIX_ROW_START_BYTEPOS(ROW) ((ROW)->start.pos.bytepos)
750 750
751/* Return character/ byte position at which ROW ends. */ 751/* Return the character/ byte position at which ROW ends. */
752 752
753#define MATRIX_ROW_END_CHARPOS(ROW) ((ROW)->end.pos.charpos) 753#define MATRIX_ROW_END_CHARPOS(ROW) ((ROW)->end.pos.charpos)
754#define MATRIX_ROW_END_BYTEPOS(ROW) ((ROW)->end.pos.bytepos) 754#define MATRIX_ROW_END_BYTEPOS(ROW) ((ROW)->end.pos.bytepos)
@@ -914,7 +914,7 @@ extern struct glyph_row scratch_glyph_row;
914 ? MATRIX_MODE_LINE_ROW (MATRIX)->height \ 914 ? MATRIX_MODE_LINE_ROW (MATRIX)->height \
915 : 0) 915 : 0)
916 916
917/* Return the height of the top line in glyph matrix MATRIX, or zero 917/* Return the height of the header line in glyph matrix MATRIX, or zero
918 if not known. This macro is called under circumstances where 918 if not known. This macro is called under circumstances where
919 MATRIX might not have been allocated yet. */ 919 MATRIX might not have been allocated yet. */
920 920
@@ -936,7 +936,7 @@ extern struct glyph_row scratch_glyph_row;
936 : estimate_mode_line_height (XFRAME ((W)->frame), \ 936 : estimate_mode_line_height (XFRAME ((W)->frame), \
937 MODE_LINE_FACE_ID))) 937 MODE_LINE_FACE_ID)))
938 938
939/* Return the current height of the top line of window W. If not 939/* Return the current height of the header line of window W. If not
940 known from current_header_line_height, look at W's current glyph 940 known from current_header_line_height, look at W's current glyph
941 matrix, or return an estimation based on the height of the font of 941 matrix, or return an estimation based on the height of the font of
942 the face `header-line'. */ 942 the face `header-line'. */
@@ -954,7 +954,7 @@ extern struct glyph_row scratch_glyph_row;
954#define DESIRED_MODE_LINE_HEIGHT(W) \ 954#define DESIRED_MODE_LINE_HEIGHT(W) \
955 MATRIX_MODE_LINE_HEIGHT ((W)->desired_matrix) 955 MATRIX_MODE_LINE_HEIGHT ((W)->desired_matrix)
956 956
957/* Return the height of the desired top line of window W. */ 957/* Return the height of the desired header line of window W. */
958 958
959#define DESIRED_HEADER_LINE_HEIGHT(W) \ 959#define DESIRED_HEADER_LINE_HEIGHT(W) \
960 MATRIX_HEADER_LINE_HEIGHT ((W)->desired_matrix) 960 MATRIX_HEADER_LINE_HEIGHT ((W)->desired_matrix)
@@ -990,7 +990,7 @@ extern struct glyph_row scratch_glyph_row;
990 ? CURRENT_MODE_LINE_HEIGHT (W) \ 990 ? CURRENT_MODE_LINE_HEIGHT (W) \
991 : 0) 991 : 0)
992 992
993/* Height in pixels of the top line. Zero if W doesn't have a top 993/* Height in pixels of the header line. Zero if W doesn't have a header
994 line. */ 994 line. */
995 995
996#define WINDOW_DISPLAY_HEADER_LINE_HEIGHT(W) \ 996#define WINDOW_DISPLAY_HEADER_LINE_HEIGHT(W) \
@@ -1004,7 +1004,7 @@ extern struct glyph_row scratch_glyph_row;
1004 (WINDOW_DISPLAY_PIXEL_HEIGHT ((W)) \ 1004 (WINDOW_DISPLAY_PIXEL_HEIGHT ((W)) \
1005 - WINDOW_DISPLAY_MODE_LINE_HEIGHT ((W))) 1005 - WINDOW_DISPLAY_MODE_LINE_HEIGHT ((W)))
1006 1006
1007/* Pixel height of window W without mode and top line. */ 1007/* Pixel height of window W without mode and header line. */
1008 1008
1009#define WINDOW_DISPLAY_TEXT_HEIGHT(W) \ 1009#define WINDOW_DISPLAY_TEXT_HEIGHT(W) \
1010 (WINDOW_DISPLAY_PIXEL_HEIGHT ((W)) \ 1010 (WINDOW_DISPLAY_PIXEL_HEIGHT ((W)) \
@@ -1053,7 +1053,7 @@ extern struct glyph_row scratch_glyph_row;
1053#define FRAME_TO_WINDOW_PIXEL_X(W, X) \ 1053#define FRAME_TO_WINDOW_PIXEL_X(W, X) \
1054 ((X) - WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X ((W))) 1054 ((X) - WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X ((W)))
1055 1055
1056/* Convert frame relative pixel X to window relative pixel Y. */ 1056/* Convert frame relative pixel Y to window relative pixel Y. */
1057 1057
1058#define FRAME_TO_WINDOW_PIXEL_Y(W, Y) \ 1058#define FRAME_TO_WINDOW_PIXEL_Y(W, Y) \
1059 ((Y) - WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y ((W))) 1059 ((Y) - WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y ((W)))
@@ -1109,7 +1109,7 @@ extern struct glyph_row scratch_glyph_row;
1109 ? WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH ((W)) \ 1109 ? WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH ((W)) \
1110 : WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH ((W)))) 1110 : WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH ((W))))
1111 1111
1112/* Value is non-zero if window W has a mode line. */ 1112/* Value is non-zero if window W wants a mode line. */
1113 1113
1114#define WINDOW_WANTS_MODELINE_P(W) \ 1114#define WINDOW_WANTS_MODELINE_P(W) \
1115 (!MINI_WINDOW_P (W) \ 1115 (!MINI_WINDOW_P (W) \
@@ -1118,7 +1118,7 @@ extern struct glyph_row scratch_glyph_row;
1118 && BUFFERP ((W)->buffer) \ 1118 && BUFFERP ((W)->buffer) \
1119 && !NILP (XBUFFER ((W)->buffer)->mode_line_format)) 1119 && !NILP (XBUFFER ((W)->buffer)->mode_line_format))
1120 1120
1121/* Value is non-zero if window W wants a top line. */ 1121/* Value is non-zero if window W wants a header line. */
1122 1122
1123#define WINDOW_WANTS_HEADER_LINE_P(W) \ 1123#define WINDOW_WANTS_HEADER_LINE_P(W) \
1124 (!MINI_WINDOW_P (W) \ 1124 (!MINI_WINDOW_P (W) \
@@ -1249,7 +1249,7 @@ struct face
1249 /* Non-zero means characters in this face have a box that thickness 1249 /* Non-zero means characters in this face have a box that thickness
1250 around them. If it is negative, the absolute value indicates the 1250 around them. If it is negative, the absolute value indicates the
1251 thickness, and the horizontal lines of box (top and bottom) are 1251 thickness, and the horizontal lines of box (top and bottom) are
1252 drawn inside of characters glyph area. The vartical lines of box 1252 drawn inside of characters glyph area. The vertical lines of box
1253 (left and right) are drawn as the same way as the case that this 1253 (left and right) are drawn as the same way as the case that this
1254 value is positive. */ 1254 value is positive. */
1255 int box_line_width; 1255 int box_line_width;
@@ -1297,7 +1297,7 @@ struct face
1297 unsigned underline_defaulted_p : 1; 1297 unsigned underline_defaulted_p : 1;
1298 1298
1299 /* 1 means that either no color is specified for the corresponding 1299 /* 1 means that either no color is specified for the corresponding
1300 attribute or that the the specified color couldn't be loaded. 1300 attribute or that the specified color couldn't be loaded.
1301 Use the foreground color when drawing in that case. */ 1301 Use the foreground color when drawing in that case. */
1302 unsigned overline_color_defaulted_p : 1; 1302 unsigned overline_color_defaulted_p : 1;
1303 unsigned strike_through_color_defaulted_p : 1; 1303 unsigned strike_through_color_defaulted_p : 1;
@@ -1335,7 +1335,7 @@ struct face
1335 1335
1336#define FACE_TTY_DEFAULT_FG_COLOR ((unsigned long) -2) 1336#define FACE_TTY_DEFAULT_FG_COLOR ((unsigned long) -2)
1337 1337
1338/* Color index indicating that face uses an unsigned background color. */ 1338/* Color index indicating that face uses an unknown background color. */
1339 1339
1340#define FACE_TTY_DEFAULT_BG_COLOR ((unsigned long) -3) 1340#define FACE_TTY_DEFAULT_BG_COLOR ((unsigned long) -3)
1341 1341
@@ -1588,7 +1588,7 @@ struct it
1588 Lisp_Object *dpvec, *dpend; 1588 Lisp_Object *dpvec, *dpend;
1589 1589
1590 /* Length in bytes of the char that filled dpvec. A value of zero 1590 /* Length in bytes of the char that filled dpvec. A value of zero
1591 means that no character such character is involved. */ 1591 means that no such character is involved. */
1592 int dpvec_char_len; 1592 int dpvec_char_len;
1593 1593
1594 /* Face id of the iterator saved in case a glyph from dpvec contains 1594 /* Face id of the iterator saved in case a glyph from dpvec contains
@@ -1751,7 +1751,7 @@ struct it
1751 int last_visible_y; 1751 int last_visible_y;
1752 1752
1753 /* Additional space in pixels between lines (for window systems 1753 /* Additional space in pixels between lines (for window systems
1754 only.). */ 1754 only.) */
1755 int extra_line_spacing; 1755 int extra_line_spacing;
1756 1756
1757 /* If non-null, glyphs are produced in glyph_row with each call to 1757 /* If non-null, glyphs are produced in glyph_row with each call to
@@ -1901,7 +1901,7 @@ struct redisplay_interface
1901 redisplay. CURSOR_ON_P non-zero means switch cursor on. 1901 redisplay. CURSOR_ON_P non-zero means switch cursor on.
1902 MOUSE_FACE_OVERWRITTEN_P non-zero means that some lines in W 1902 MOUSE_FACE_OVERWRITTEN_P non-zero means that some lines in W
1903 that contained glyphs in mouse-face were overwritten, so we 1903 that contained glyphs in mouse-face were overwritten, so we
1904 have to update the mouse hightlight. */ 1904 have to update the mouse highlight. */
1905 void (*update_window_end_hook) P_ ((struct window *w, int cursor_on_p, 1905 void (*update_window_end_hook) P_ ((struct window *w, int cursor_on_p,
1906 int mouse_face_overwritten_p)); 1906 int mouse_face_overwritten_p));
1907 1907
@@ -1949,7 +1949,7 @@ extern int (* estimate_mode_line_height_hook) P_ ((struct frame *,
1949struct image; 1949struct image;
1950 1950
1951 1951
1952/* Each image format (JPEG, IIFF, ...) supported is described by 1952/* Each image format (JPEG, TIFF, ...) supported is described by
1953 a structure of the type below. */ 1953 a structure of the type below. */
1954 1954
1955struct image_type 1955struct image_type
@@ -2015,7 +2015,7 @@ struct image
2015#define DEFAULT_IMAGE_HEIGHT 30 2015#define DEFAULT_IMAGE_HEIGHT 30
2016 2016
2017 /* Percent of image height used as ascent. A value of 2017 /* Percent of image height used as ascent. A value of
2018 CENTERED_IMAGE_ASCENT means draw center the image centered on the 2018 CENTERED_IMAGE_ASCENT means draw the image centered on the
2019 line. */ 2019 line. */
2020 int ascent; 2020 int ascent;
2021#define DEFAULT_IMAGE_ASCENT 50 2021#define DEFAULT_IMAGE_ASCENT 50