Selection highlight misaligned on line selection #12184
Comments
There's a fix pending in #12110 🚒 |
@petetnt I followed your link to issue #12110, but I'm not sure if there's something I can do right now to fix this, or if I just need to wait for the next release. There you said, "This PR compensates for that by pulling the editor back -4 pixels". I don't know what a PR is. Sorry. :( This misalignment, while not causing a work stoppage for me, is super-annoying. edit: It just dawned on me that "PR" is pull request. Duh. Still is there a way for me to fix this now, that I'm just not understanding? Thanks |
Never mind. I did manage to find .CodeMirror-lines in brackets.min.css and add the margin-left: -4px. I'm not sure if I was meant to do that by hand or if there was some clever way of getting that out of git, but at least the misalignment is gone. If there was a better way to do this besides me manually updating the brackets.min.css file, I'd be glad to be told what it was. Thanks again. |
@topherJ No need to be sorry! The quick way is to just edit the Other (proper) way is to use an dev build of Brackets. How to Hack on Brackets is the basic guide, but just to add the patch steps are as follows:
When you launch Brackets, you should notice that you are running the Then, again in the
and reload Brackets. You should now notice that the issue should be fixed |
Thanks @petetnt! :) Will this be addressed in the real fix for this on the next Brackets update? |
@topherJ Which theme are you using? And which operating system are you on? The fold arrows work correctly for me (and in correct position)... do you see a similar gutter between the content and other stuff like in #12110 (comment). |
@topherJ Super weird, as I just tried a fresh copy on a Mac and everything alright there too (as they are on my work PC which is a Windows 8 machine and the one I am writing this on is Win10). Do you see the gutter if you launch without extensions (Debug -> Reload without Extensions)? |
@petetnt I do get the same thing if I reload without extensions. Something I didn't really notice before is that I need to click exactly on that little space between the gutter and the line highlight in order to get code folding to work. Clicking on the arrow itself does nothing. Weird. |
Fixed by #12110 |
Place cursor at the far left edge of a line. Hold down Shift key and hit the down arrow. Selection highlight is misaligned.
Of note, there are no spaces infront of the variable
github
The text was updated successfully, but these errors were encountered: