view msdos/sedalloc.inp @ 111107:f3721a6253a8

Fix mouse highlight in bidi-reordered continued lines. xdisp.c (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. (mouse_face_from_buffer_pos): Rewrite to not 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. Continued lines that begin or end outside of the visible region still don't work.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 02 Oct 2010 17:05:20 +0200
parents 1d1d5d9bd884
children 376148b31b5e
line wrap: on
line source

# -sedalloc.inp-----------------------------------------------------------
# Configuration script for SYSTEM_MALLOC/REL_ALLOC in src/config.h
# ----------------------------------------------------------------------
#
# Copyright (C) 2008, 2009, 2010  Free Software Foundation, Inc.
#
# This file is part of GNU Emacs.
#
# This file is free software; as a special exception, the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# ----------------------------------------------------------------------
/^#define GNU_MALLOC  *1 *$/s|^.*$|/* #undef GNU_MALLOC */|
/^#define REL_ALLOC.*$/a\
\
/* Inserted by the --with-system-malloc switch to config.bat.  */\
#define SYSTEM_MALLOC 1
/^#define REL_ALLOC  *1 *$/s|^.*$|/* #undef REL_ALLOC */|

# arch-tag: 20b3ad5d-fcd7-4751-aa34-e94e770ded87