File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 262
262
(define-values (x y) (send editor dc-location-to-editor-location event-x event-y))
263
263
(cond
264
264
[(is-a? editor text%)
265
- (let ([ pos (send editor find-position x y #f on-it?)] )
266
- (cond
267
- [(not (unbox on-it?)) (values #f #f )]
268
- [else
269
- (let ([snip (send editor find-snip pos 'after-or-none )])
270
- (if (and snip (is-a? snip editor-snip%))
271
- (loop (send snip get-editor))
272
- (values pos editor)))]) )]
265
+ (define pos (send editor find-position x y #f on-it?))
266
+ (cond
267
+ [(not (unbox on-it?)) (values #f #f )]
268
+ [else
269
+ (let ([snip (send editor find-snip pos 'after-or-none )])
270
+ (if (and snip (is-a? snip editor-snip%))
271
+ (loop (send snip get-editor))
272
+ (values pos editor)))])]
273
273
[(is-a? editor pasteboard%)
274
274
(define snip (send editor find-snip x y))
275
275
(if (and snip (is-a? snip editor-snip%))
You can’t perform that action at this time.
0 commit comments