mirror of https://gitlab.com/basile.b/dexed.git
brace auto-closing, better indentation detection
This commit is contained in:
parent
4cd0f9ed3a
commit
6c3936f41f
|
@ -783,7 +783,7 @@ begin
|
||||||
if i < 0 then
|
if i < 0 then
|
||||||
break;
|
break;
|
||||||
beg := editor.Lines[i];
|
beg := editor.Lines[i];
|
||||||
if beg.isBlank then
|
if (Pos('{', beg) = 0) then
|
||||||
i -= 1
|
i -= 1
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue