[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemacs-commit] qemacs html.c qe.c
From: |
Charlie Gordon |
Subject: |
[Qemacs-commit] qemacs html.c qe.c |
Date: |
Tue, 22 Apr 2008 08:21:25 +0000 |
CVSROOT: /cvsroot/qemacs
Module name: qemacs
Changes by: Charlie Gordon <chqrlie> 08/04/22 08:21:25
Modified files:
. : html.c qe.c
Log message:
simple fix to highlight region in html, hex and other text modes
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/html.c?cvsroot=qemacs&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/qemacs/qe.c?cvsroot=qemacs&r1=1.89&r2=1.90
Patches:
Index: html.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/html.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- html.c 20 Apr 2008 12:01:34 -0000 1.18
+++ html.c 22 Apr 2008 08:21:23 -0000 1.19
@@ -261,7 +261,7 @@
/* selection handling */
- if (s->show_selection) {
+ if (s->show_selection || s->region_style) {
sel_start = s->b->mark;
sel_end = s->offset;
/* sort selection */
Index: qe.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/qe.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -b -r1.89 -r1.90
--- qe.c 22 Apr 2008 08:18:48 -0000 1.89
+++ qe.c 22 Apr 2008 08:21:24 -0000 1.90
@@ -768,8 +768,7 @@
{
CursorContext *m = ds->cursor_opaque;
- if (m->offsetc >= offset1 &&
- m->offsetc < offset2) {
+ if (m->offsetc >= offset1 && m->offsetc < offset2) {
m->xc = x;
m->yc = y;
m->basec = ds->base;
@@ -2864,7 +2863,7 @@
/* special code to colorize block */
e = s->edit_state;
- if (e->show_selection) {
+ if (e->show_selection || e->region_style) {
int mark = e->b->mark;
int offset = e->offset;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemacs-commit] qemacs html.c qe.c,
Charlie Gordon <=