work save
This commit is contained in:
parent
fe4c6f0659
commit
0f70658d32
|
@ -1361,7 +1361,10 @@ bool Editor::handleBraceSkip()
|
||||||
return false;
|
return false;
|
||||||
BufferCoord pos = getMatchingBracket();
|
BufferCoord pos = getMatchingBracket();
|
||||||
if (pos.Line != 0) {
|
if (pos.Line != 0) {
|
||||||
setCaretXY( BufferCoord{caretX() + 1, caretY()}); // skip over
|
setBlockBegin(caretXY());
|
||||||
|
setBlockEnd(BufferCoord{caretX() + 1, caretY()});
|
||||||
|
CommandProcessor(SynEditorCommand::ecChar,'}');
|
||||||
|
// setCaretXY( BufferCoord{caretX() + 1, caretY()}); // skip over
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue