[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC] highlight region only if it is of non-zero length?
From: |
Dmitry Antipov |
Subject: |
[RFC] highlight region only if it is of non-zero length? |
Date: |
Wed, 12 Dec 2012 12:55:22 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
IIUC if the region size (e.g. distance between marker_position (BVAR
(current_buffer, mark))
and PT) is zero, there is nothing to highlight, and this case can be optimized.
Comments?
Dmitry
highlight.patch
Description: Text document
- [RFC] highlight region only if it is of non-zero length?,
Dmitry Antipov <=