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
|
||||
break;
|
||||
beg := editor.Lines[i];
|
||||
if beg.isBlank then
|
||||
if (Pos('{', beg) = 0) then
|
||||
i -= 1
|
||||
else
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue