atom / bracket-matcher

Jump to brackets
MIT License
142 stars 98 forks source link

"Highlight Matching Line Number" option breaks line number #331

Open victorhqc opened 6 years ago

victorhqc commented 6 years ago

Prerequisites

Description

Line number is changed when using new "Highlight Matching Line Number" option.

Highlight matching line enabled

brackets-issue

Highlight matching line disabled

brackets-ok

Steps to Reproduce

  1. Enable Highlight matching line number
  2. Click on a closing tag line

Expected behavior: Line number is preserved

Actual behavior: Line number changes

Reproduces how often: 100%

Versions

Atom : 1.22.0 Electron: 1.6.15 Chrome : 56.0.2924.87 Node : 7.4.0 apm 1.18.8 npm 3.10.10 node 6.9.5 x64 python 2.7.10 git 2.13.5