Merge pull request #4840 from RaiKoHoff/Dev_Master

Set color of horizontal ruler (folded block) to line number coloring
This commit is contained in:
Rainer Kottenhoff 2023-06-05 09:35:43 +02:00 committed by GitHub
commit 9b7d55fa12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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