diff --git a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp
index 79fdd2344..18fb4254a 100644
--- a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp
+++ b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp
@@ -2484,6 +2484,7 @@ BOOL CALLBACK FindIncrementDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM)
{
switch (message)
{
+ // Make edit field red if not found
case WM_CTLCOLOREDIT :
{
// if the text not found modify the background color of the editor
diff --git a/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp b/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp
index 7d1ec34e6..2ef6ca581 100644
--- a/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp
+++ b/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp
@@ -2065,16 +2065,29 @@ void ScintillaEditView::performGlobalStyles()
COLORREF foldfgColor = white;
COLORREF foldbgColor = grey;
i = stylers.getStylerIndexByName(TEXT("Fold"));
-
if (i != -1)
{
Style & style = stylers.getStyler(i);
foldfgColor = style._bgColor;
foldbgColor = style._fgColor;
}
+
+ COLORREF activeFoldFgColor = red;
+ i = stylers.getStylerIndexByName(TEXT("Fold active"));
+ if (i != -1)
+ {
+ Style & style = stylers.getStyler(i);
+ activeFoldFgColor = style._fgColor;
+ }
+
+
ScintillaViewParams & svp = (ScintillaViewParams &)_pParameter->getSVP();
for (int j = 0 ; j < NB_FOLDER_STATE ; j++)
- defineMarker(_markersArray[FOLDER_TYPE][j], _markersArray[svp._folderStyle][j], foldfgColor, foldbgColor);
+ defineMarker(_markersArray[FOLDER_TYPE][j], _markersArray[svp._folderStyle][j], foldfgColor, foldbgColor, activeFoldFgColor);
+
+ execute(SCI_MARKERENABLEHIGHLIGHT, true);
+
+
/*
COLORREF unsavedChangebgColor = liteRed;
i = stylers.getStylerIndexByName(TEXT("Unsaved change marker"));
diff --git a/PowerEditor/src/ScitillaComponent/ScintillaEditView.h b/PowerEditor/src/ScitillaComponent/ScintillaEditView.h
index 4d892807d..4c857eaf3 100644
--- a/PowerEditor/src/ScitillaComponent/ScintillaEditView.h
+++ b/PowerEditor/src/ScitillaComponent/ScintillaEditView.h
@@ -334,7 +334,7 @@ public:
display = true;
}
for (int i = 0 ; i < NB_FOLDER_STATE ; i++)
- defineMarker(_markersArray[FOLDER_TYPE][i], _markersArray[style][i], white, grey);
+ defineMarker(_markersArray[FOLDER_TYPE][i], _markersArray[style][i], white, grey, white);
showMargin(ScintillaEditView::_SC_MARGE_FOLDER, display);
};
@@ -872,11 +872,12 @@ protected:
};
//END: Lexers and Styling
- void defineMarker(int marker, int markerType, COLORREF fore, COLORREF back) {
+ void defineMarker(int marker, int markerType, COLORREF fore, COLORREF back, COLORREF foreActive) {
execute(SCI_MARKERDEFINE, marker, markerType);
execute(SCI_MARKERSETFORE, marker, fore);
execute(SCI_MARKERSETBACK, marker, back);
- };
+ execute(SCI_MARKERSETBACKSELECTED, marker, foreActive);
+ };
bool isCJK() const {
return ((_codepage == CP_CHINESE_TRADITIONAL) || (_codepage == CP_CHINESE_SIMPLIFIED) ||
diff --git a/PowerEditor/src/resource.h b/PowerEditor/src/resource.h
index 6f3451951..38315e89d 100644
--- a/PowerEditor/src/resource.h
+++ b/PowerEditor/src/resource.h
@@ -18,12 +18,12 @@
#ifndef RESOURCE_H
#define RESOURCE_H
-#define NOTEPAD_PLUS_VERSION TEXT("Notepad++ v5.9.2")
+#define NOTEPAD_PLUS_VERSION TEXT("Notepad++ v5.9.3")
// should be X.Y : ie. if VERSION_DIGITALVALUE == 4, 7, 1, 0 , then X = 4, Y = 71
// ex : #define VERSION_VALUE TEXT("5.63\0")
-#define VERSION_VALUE TEXT("5.92\0")
-#define VERSION_DIGITALVALUE 5, 9, 2, 0
+#define VERSION_VALUE TEXT("5.93\0")
+#define VERSION_DIGITALVALUE 5, 9, 3, 0
#ifdef UNICODE
#define UNICODE_ANSI_MODE TEXT("(UNICODE)")
diff --git a/PowerEditor/src/stylers.model.xml b/PowerEditor/src/stylers.model.xml
index c42ef228f..fb8a08fe5 100644
--- a/PowerEditor/src/stylers.model.xml
+++ b/PowerEditor/src/stylers.model.xml
@@ -789,6 +789,7 @@
+