Open airglow923 opened 4 years ago
Say, there is the following code:
[· ]
(Note that · after [ refers to <space>)
·
[
<space>
and if I put backspace after the ·, it deletes the trailing newline.
This was once mentioned in #272 where a pair of " causing problems, but it turns out that this occurs in every possible pair (", (, {, and [).
"
(
{
There is another strange behavior. Consider the code below:
[<backspace> ]
If I do that, it deletes both the opening and closing brackets.
Here are the attachments that help understanding:
First case, [·<backspace>
[·<backspace>
Second case, [<backspace><LF><LF>]
[<backspace><LF><LF>]
It seems that deleting an opening pair also deletes the closing pair when there are only whitespaces between pairs, not just newline.
Say, there is the following code:
(Note that
·
after[
refers to<space>
)and if I put backspace after the
·
, it deletes the trailing newline.This was once mentioned in #272 where a pair of
"
causing problems, but it turns out that this occurs in every possible pair ("
,(
,{
, and[
).There is another strange behavior. Consider the code below:
If I do that, it deletes both the opening and closing brackets.
Here are the attachments that help understanding:
First case,
[·<backspace>
Second case,
[<backspace><LF><LF>]