+fix: set color of horizontal ruler (folded block) to line number coloring

This commit is contained in:
METANEOCORTEX\Kotti 2023-06-05 08:09:19 +02:00
parent bb069c47e9
commit bca216d18e
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -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