aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 45cc42804..28fa89120 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -7646,7 +7646,10 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
case SCI_BRACEMATCH:
// wParam is position of char to find brace for,
// lParam is maximum amount of text to restyle to find it
- return pdoc->BraceMatch(static_cast<Sci::Position>(wParam), lParam);
+ return pdoc->BraceMatch(static_cast<Sci::Position>(wParam), lParam, 0, false);
+
+ case SCI_BRACEMATCHNEXT:
+ return pdoc->BraceMatch(static_cast<Sci::Position>(wParam), 0, lParam, true);
case SCI_GETVIEWEOL:
return vs.viewEOL;