diff --git a/src/Edit.c b/src/Edit.c index dd06af2b4..3f54d2980 100644 --- a/src/Edit.c +++ b/src/Edit.c @@ -7868,7 +7868,7 @@ static int wordcmpi(PWLIST a, PWLIST b) { // ---------------------------------------------- -static const char* _strNextLexKeyWord(const char* strg, const char* const wdroot, DocPosCR* pwdlen) +static __forceinline const char* _strNextLexKeyWord(const char* strg, const char* const wdroot, DocPosCR* pwdlen) { char const sep = ' '; bool found = false; diff --git a/src/Styles.c b/src/Styles.c index 7de23536c..12f7d51af 100644 --- a/src/Styles.c +++ b/src/Styles.c @@ -2328,6 +2328,8 @@ void Style_SetMargin(HWND hwnd, LPCWSTR lpszStyle) /// iStyle == STYLE_LINENUMBE SciCall_MarkerSetBackSelected(FoldMarkerID[i], fldHiLight); SciCall_MarkerSetStrokeWidth(FoldMarkerID[i], strokeWidth); } + SciCall_SetElementColour(SC_ELEMENT_FOLD_LINE, AxRGB(255, clrLineNumFore)); + SciCall_MarkerEnableHighlight(true); // highlight folding block // background