[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/idlwave 8a8f690461 117/360: - Add a special face for hi
From: |
ELPA Syncer |
Subject: |
[elpa] externals/idlwave 8a8f690461 117/360: - Add a special face for highlighted disabled breakpoints (gray by default). |
Date: |
Sun, 28 Apr 2024 00:59:14 -0400 (EDT) |
branch: externals/idlwave
commit 8a8f69046180f3ef492436a99210dd01c6332c49
Author: jdsmith <jdsmith>
Commit: jdsmith <jdsmith>
- Add a special face for highlighted disabled breakpoints (gray by default).
---
idlw-shell.el | 38 ++++++++++++++++++++++++++++++--------
1 file changed, 30 insertions(+), 8 deletions(-)
diff --git a/idlw-shell.el b/idlw-shell.el
index 42527da430..84ae677bd1 100644
--- a/idlw-shell.el
+++ b/idlw-shell.el
@@ -6,7 +6,7 @@
;; Chris Chase <chase@att.com>
;; Maintainer: J.D. Smith <jdsmith@as.arizona.edu>
;; Version: VERSIONTAG
-;; Date: $Date: 2004/10/13 20:24:15 $
+;; Date: $Date: 2004/10/15 20:35:08 $
;; Keywords: processes
;; This file is part of GNU Emacs.
@@ -523,11 +523,30 @@ lines which have a breakpoint. See also
`idlwave-shell-mark-breakpoints'."
(defface idlwave-shell-bp-face
'((((class color)) (:foreground "Black" :background "Pink"))
(t (:underline t)))
- "Face for highlighting lines-with-breakpoints."
+ "Face for highlighting lines with breakpoints."
:group 'idlwave-shell-highlighting-and-faces)
;; Just copy the underline face to be on the safe side.
(copy-face 'underline 'idlwave-shell-bp-face))
+(defcustom idlwave-shell-disabled-breakpoint-face
+ 'idlwave-shell-disabled-bp-face
+ "*The face for disabled breakpoint lines in the source code.
+Allows you to choose the font, color and other properties for
+lines which have a breakpoint. See also `idlwave-shell-mark-breakpoints'."
+ :group 'idlwave-shell-highlighting-and-faces
+ :type 'symbol)
+
+(if idlwave-shell-have-new-custom
+ ;; We have the new customize - use it to define a customizable face
+ (defface idlwave-shell-disabled-bp-face
+ '((((class color)) (:foreground "Black" :background "gray"))
+ (t (:underline t)))
+ "Face for highlighting lines with breakpoints."
+ :group 'idlwave-shell-highlighting-and-faces)
+ ;; Just copy the underline face to be on the safe side.
+ (copy-face 'underline 'idlwave-shell-disabled-bp-face))
+
+
(defcustom idlwave-shell-expression-face 'secondary-selection
"*The face for `idlwave-shell-expression-overlay'.
Allows you to choose the font, color and other properties for
@@ -3586,15 +3605,18 @@ only for glyphs)"
(let ((ov (make-overlay 1 1))
(use-glyph (and (memq idlwave-shell-mark-breakpoints '(t glyph))
idlwave-shell-bp-glyph))
- (type (or type 'bp)))
+ (type (or type 'bp))
+ (face (if disabled
+ idlwave-shell-disabled-breakpoint-face
+ idlwave-shell-breakpoint-face)))
(if (featurep 'xemacs)
;; This is XEmacs
(progn
(cond
;; tty's cannot display glyphs
((eq (console-type) 'tty)
- (set-extent-property ov 'face idlwave-shell-breakpoint-face))
-
+ (set-extent-property ov 'face face))
+
;; use the glyph
(use-glyph
(let ((glyph (cdr (assq type idlwave-shell-bp-glyph))))
@@ -3604,7 +3626,7 @@ only for glyphs)"
;; use the face
(idlwave-shell-mark-breakpoints
- (set-extent-property ov 'face idlwave-shell-breakpoint-face))
+ (set-extent-property ov 'face face))
;; no marking
(t nil))
@@ -3626,11 +3648,11 @@ only for glyphs)"
image-props)))
(overlay-put ov 'before-string string))
;; just the face
- (overlay-put ov 'face idlwave-shell-breakpoint-face)))
+ (overlay-put ov 'face face)))
;; use a face
(idlwave-shell-mark-breakpoints
- (overlay-put ov 'face idlwave-shell-breakpoint-face))
+ (overlay-put ov 'face face))
;; No marking
(t nil)))
- [elpa] externals/idlwave c251b28774 039/360: * idlwave.el (idlwave-calculate-cont-indent): Skip over multiple, (continued)
- [elpa] externals/idlwave c251b28774 039/360: * idlwave.el (idlwave-calculate-cont-indent): Skip over multiple, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 7809a772de 045/360: Moved idlwave-help-popup-select and associated to idlwave.el., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave ef6971fe50 049/360: synced to emacs version, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 36803c2fd1 050/360: Changed @setfilename to compile correctly., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 58fb16ce33 056/360: Helpfiles version was getting replaced in-place. Now create a special, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave bf0448c03f 068/360: - Fixed line-beginning-position for XEmacs., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave f3922dcc2d 065/360: Removed helpcode dependency., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 9cb83ee993 100/360: - New link format for different HTML contents produced with the IDLv6.0, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave e932b9811b 097/360: - Support for IDLv6.0, including +=, etc. assignment operators with, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave c9e8a63c08 113/360: - Improved test for continuing assignments, to reject assignments in, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 8a8f690461 117/360: - Add a special face for highlighted disabled breakpoints (gray by default).,
ELPA Syncer <=
- [elpa] externals/idlwave a6829e5499 129/360: - Change prompt pattern to accomodate random '\r' in prompt (since OSX, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 666b7c8ca0 095/360: - Minor doc header fix., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave c002a59ac8 149/360: - Change default help location to be relative, help/online_help, for, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 06937cda94 134/360: - Note on fsf-compat., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 286e3e121e 153/360: - Update FSF address., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 8c2b4950e6 160/360: - Be more careful about expanding help dir for non-system help., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 93e6504404 163/360: - (idlwave-push-mark): Removed obsolete, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave fa3390f48d 214/360: Added, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave ba16611ec5 240/360: Use 'with-current-buffer' instead of save-excursion, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 971611a29d 203/360: Help details., ELPA Syncer, 2024/04/28