Closed bellkev closed 11 years ago
I agree with this change. This is much nicer.
:+1:
Awesome. Thanks!
@treyhunner Besides the sample code, I think maybe other parts of the text should also be improved in this way? Some people may wanna cite this web page.
@xuhdev I agree
It seems likely that a common thing to do on editorconfig.org would be to copy-and-paste some text from the sample (then edit it to suit your needs).
I thought it would be nice if the highlighting when text is selected didn't spill over the sides of the pre-formatted block.
Here's an example of what it looks like now:
And with the proposed change:
I tried to set the boundaries to emulate what it would look like if the selection were made in a text editor (i.e. just barely containing the characters on left side).