BriteSnow/vscode-toggle-quotes

Does not work on multiple lines

moltar opened this issue · 3 comments

Reproduce:

Create a new file with language set to Perl.

Create content:

$foo = "one line
second line";

Try to hit the hot key inside the text.

@moltar Fair enough. Will try to find time to work on this one.

Multiline support complete

PR #37

Multiline support is not working in HTML. Make a file with this content:

<pre style="
    overflow-x: auto !important;
    width: 60%;
    margin: 0;
    line-height: 125%;
    font-size: 12pt;
    padding-left: 0.5em;
    margin-bottom: 1em;
">
foo
</pre>

Try to toggle the quote. It won't work. I get the following error message:

Cannot read property 'begin' of undefined