theseus icon indicating copy to clipboard operation
theseus copied to clipboard

Theseus disturbs Brackets' "Highlight selected HTML item"

Open marcelgerber opened this issue 12 years ago • 6 comments

Steps to repro:

  1. Open Getting Started\index.html
  2. Start Live Preview
  3. Set the cursor to the <img> tag
  4. Switch back to the browser and look at the image (screenshot)

Result: With (only) Theseus installed, the image looks just like before. Without Theseus (same settings), it has a blue highlighting.

CSS rules are highlighted correctly.

Env: Brackets development build 33 (but as far as I can remember this also in sprints before) Windows 8.1

marcelgerber avatar Oct 19 '13 19:10 marcelgerber

It seems that editor._codeMirror.findMarksAt(pos) at https://github.com/adobe/brackets/blob/master/src/language/HTMLInstrumentation.js#L143 gets wrong results when Theseus is enabled.

But I can't debug further - CodeMirror is too much for me!

marcelgerber avatar Oct 19 '13 22:10 marcelgerber

It disturbs Live HTML, too!

marcelgerber avatar Oct 31 '13 20:10 marcelgerber

Just wrote to brackets-dev about one way to resolve this: have a separate Theseus button that works like the lightning bolt but enables Theseus.

alltom avatar Nov 04 '13 00:11 alltom

I'd like that idea.

marcelgerber avatar Feb 16 '14 16:02 marcelgerber

It still happens to me, did you get it work? I'm trying to supervive with a little trick: I've installed the "HTML Designer for Brackets" extension, and while you can debug the JS code in Live Preview, you can see and edit the HTML design in the DesignView or SplitView options from this extension...

pabloweinx avatar Aug 19 '15 12:08 pabloweinx

No, sorry, I haven't developed this yet. :(

alltom avatar Aug 28 '15 04:08 alltom