annotate etc/README @ 111116:b52e94e0cf53

Implement mouse highlight for bidi-reordered lines. xdisp.c (fast_find_string_pos): #ifdef away, not used anymore. (mouse_face_from_string_pos): New function, replaces fast_find_string_pos. (note_mouse_highlight): Call it instead of fast_find_string_pos. (note_mode_line_or_margin_highlight): Support bidi-reordered strings and R2L glyph rows. Fix comments. (note_mouse_highlight): When bidi reordering is turned on in a buffer, call next-single-property-change and previous-single-property-change with last argument nil. Clear mouse highlight when mouse pointer is in a R2L row on the stretch glyph that stands for no text beyond the line end. (row_containing_pos): Don't return too early when CHARPOS is in a bidi-reordered continued line. Return immediately when the first hit is found in a line that is not continued, or when an exact match for CHARPOS is found. (rows_from_pos_range): New function. (mouse_face_from_buffer_pos): Use it instead of calling row_containing_pos for START_CHARPOS and END_CHARPOS. Rewrite the function to support mouse highlight in bidi-reordered lines and not to assume that START_CHARPOS is always in mouse_face_beg_row. If necessary, swap mouse_face_beg_row and mouse_face_end_row so that the former is always above the latter or identical to it. (show_mouse_face): Support drawing highlighted R2L lines. (coords_in_mouse_face_p): New function, bidi-aware. (cursor_in_mouse_face_p, note_mouse_highlight, erase_phys_cursor): Call it instead of comparing with mouse-face members of dpyinfo. (note_mode_line_or_margin_highlight): Fix confusingly swapped usage of hpos and vpos.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 23 Oct 2010 17:30:45 +0200
parents 1d1d5d9bd884
children 376148b31b5e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
580
c8860f81ccf7 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 565
diff changeset
1 This directory contains the architecture-independent files used by or
c8860f81ccf7 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 565
diff changeset
2 with Emacs. This includes some text files of documentation for GNU
c8860f81ccf7 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 565
diff changeset
3 Emacs or of interest to Emacs users, and the file of dumped docstrings
c8860f81ccf7 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 565
diff changeset
4 for Emacs functions and variables.
c8860f81ccf7 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 565
diff changeset
5
94363
76be8c301e6c Add forms-d2.dat.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
6 `forms-d2.dat' is an example data file used by forms-d2.el.
41452
09e762a010e0 Document the URLs where one can find special versions of TeX required for
Eli Zaretskii <eliz@gnu.org>
parents: 12680
diff changeset
7
75650
48e11b5cb31e List copyright and license information for Emacs splash images.
Glenn Morris <rgm@gnu.org>
parents: 75343
diff changeset
8 COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES
48e11b5cb31e List copyright and license information for Emacs splash images.
Glenn Morris <rgm@gnu.org>
parents: 75343
diff changeset
9
75825
73762f886086 Add copyright information for emacs.icon (from authors.el).
Chong Yidong <cyd@stupidchicken.com>
parents: 75774
diff changeset
10 File: emacs.icon
73762f886086 Add copyright information for emacs.icon (from authors.el).
Chong Yidong <cyd@stupidchicken.com>
parents: 75774
diff changeset
11 Author: Sun Microsystems, Inc
106815
1d1d5d9bd884 Add 2010 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 100972
diff changeset
12 Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
75863
6112f0f47f01 Update years on emacs.icon copyright.
Glenn Morris <rgm@gnu.org>
parents: 75825
diff changeset
13 Free Software Foundation, Inc.
78626
14c1feed4904 Update GPL version for Emacs images.
Glenn Morris <rgm@gnu.org>
parents: 78271
diff changeset
14 License: GNU General Public License version 3 or later (see COPYING)