dont modify positions if line numbers arent being shown
This commit is contained in:
parent
a698d89a75
commit
e0e3870a62
|
@ -3860,7 +3860,9 @@ designates the character that triggers autocompletion
|
|||
(define line-numbers-space 0)
|
||||
(define/override (find-position x y . args)
|
||||
;; adjust x position to account for line numbers
|
||||
(super find-position (- x line-numbers-space) y . args))
|
||||
(if show-line-numbers?
|
||||
(super find-position (- x line-numbers-space) y . args)
|
||||
(super find-position x y . args)))
|
||||
|
||||
(define (draw-line-numbers dc left top right bottom dx dy)
|
||||
(setup-dc dc)
|
||||
|
|
Loading…
Reference in New Issue
Block a user