work save: fix code folder process

This commit is contained in:
royqh1979@gmail.com 2021-09-23 14:04:33 +08:00
parent 842e1f6cbd
commit af288afa7e
2 changed files with 3 additions and 2 deletions

View File

@ -5,4 +5,5 @@ Version 0.2
- enhancement: rainbow parenthesis - enhancement: rainbow parenthesis
- enhancement: run executable with parameters - enhancement: run executable with parameters
- add: widget for function tips - add: widget for function tips
- enhancement: options for editor tooltips - enhancement: options for editor tooltips
- fix: editor folder process error

View File

@ -368,7 +368,7 @@ void SynEditCppHighlighter::braceCloseProc()
} }
mRange.braceLevel -= 1; mRange.braceLevel -= 1;
if (mRange.leftBraces<=mRange.rightBraces) { if (mRange.leftBraces>0) {
mRange.rightBraces++ ; mRange.rightBraces++ ;
} else { } else {
mRange.leftBraces--; mRange.leftBraces--;