1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-12 09:28:24 +00:00

(gud-speedbar-buttons): Allow pointers to

be edited and use font-lock-warning-face for any changes.
This commit is contained in:
Nick Roberts 2006-03-07 10:43:19 +00:00
parent d35e063ae3
commit 19bf3d3fa4

View File

@ -493,11 +493,15 @@ required by the caller."
'bracket char
'gdb-speedbar-expand-node varnum
(concat expr "\t" type "\t" value)
(if (or parent status)
(if (or parent (eq status 'out-of-scope))
nil 'gdb-edit-value)
nil
(if (and (or parent (eq status 'out-of-scope))
gdb-show-changed-values) 'shadow t)
(if gdb-show-changed-values
(or parent (case status
(changed 'font-lock-warning-face)
(out-of-scope 'shadow)
(t t)))
t)
depth)
(speedbar-make-tag-line
'bracket char