Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic bracket matching seems to fail in 2nd file window when using New View Into File #413

Closed
mgleavitt opened this issue Apr 25, 2017 · 2 comments

Comments

@mgleavitt
Copy link

Please read and fill out this template by replacing the instructions with appropriate information. If the template is not followed, the issue will be marked Invalid and closed.

Before submitting an issue search past issues and read the area of the documentation related to your specific question, issue, or request.


Description

After I installed package (including turning of default matching per quick start) & closed/opened ST3, I wasn't seeing expected interactive default bracket matching behavior. Experimentation showed that it's working fine in my environment, except in windows displaying 2nd view into a file (via New View Into File)

When viewing the same file in, say, a 2 row layout w/original on top & "new view" on bottom, the top works as expected, but the bottom view only works in response to command palette (e.g., jump to right bracket).

Behavior doesn't seem to be layout specific; I get same thing if I'm in a single-pane display with the two views on different tabs.

User settings:
{
"color_scheme": "Packages/Color Scheme - Default/Sunburst.tmTheme",
"font_size": 11,
"ignored_packages":
[
"Vintage"
],
"match_brackets": false,
"match_brackets_angle": false,
"match_brackets_content": false,
"match_brackets_square": false,
"match_tags": false,
"tab_size": 2
}

No obvious console output.

Support Info

Support info:

  • ST ver.: 3126
  • Platform: osx
  • Arch: x64
  • Plugin ver.: 2.23.3
  • Install via PC: True
  • mdpopups ver.: 1.13.1
  • backrefs ver.: 1.0.post1
  • markdown ver.: 2.6.6
  • pygments ver.: 2.1a0
  • jinja2 ver.: 2.8

Steps to Reproduce Issue

  1. Open file (in my case a JavaScript file) in ST3
  2. Verify default automatic bracket matching behavior
  3. File > New View into File
  4. Go to tab displaying second view
  5. Automatic/interactive bracket matching doesn't work (for me), but command palette actions do
@facelessuser
Copy link
Owner

As I recall, those "cloned" views don't have event listeners attached to them. I don't think there is anything I can do about it as it is a limitation of Sublime Text.

@facelessuser
Copy link
Owner

This is a duplicate of #356. I knew this sounded familiar 🙂. I believe my answer will remain the same as what I said there. As this is a duplicate, I will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants