svn: r104
This commit is contained in:
parent
046fcc9347
commit
e9465f293e
|
@ -19,7 +19,7 @@
|
|||
(define debugger-bitmap
|
||||
(drscheme:unit:make-bitmap
|
||||
"Syntax Offset"
|
||||
(build-path (collection-path "mztake") "stock_macro-check-brackets.png")))
|
||||
(build-path (collection-path "mztake") "stock_macro-check-brackets-16.png")))
|
||||
|
||||
(define (debugger-unit-frame-mixin super%)
|
||||
(class super%
|
||||
|
@ -37,11 +37,9 @@
|
|||
[line (send (get-definitions-text) position-paragraph pos)]
|
||||
[column (- pos (send (get-definitions-text) line-start-position
|
||||
(send (get-definitions-text) position-line pos)))])
|
||||
(message-box/custom "Syntax Offset"
|
||||
(format "Line: ~a~nColumn: ~a~nOffset: ~a" (add1 line) column pos)
|
||||
"OK"
|
||||
#f #f #f
|
||||
'(default=1))))))
|
||||
|
||||
(message-box "Syntax Offset"
|
||||
(format "Line: ~a~nColumn: ~a~nOffset: ~a" (add1 line) column pos))))))
|
||||
|
||||
(send (get-button-panel) change-children
|
||||
(lambda (_) (cons debugger-button (remq debugger-button _))))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user