diff --git a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp index c8e281f6..206b89f7 100644 --- a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp +++ b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp @@ -548,14 +548,6 @@ void Finder::gotoFoundLine() (*_ppEditView)->_positionRestoreNeeded = false; Searching::displaySectionCentered(fInfo._start, fInfo._end, *_ppEditView); - - // Then we colourise the double clicked line - setFinderStyle(); - - _scintView.execute(SCI_STYLESETEOLFILLED, SCE_SEARCHRESULT_HIGHLIGHT_LINE, true); - _scintView.execute(SCI_STARTSTYLING, start, STYLING_MASK); - _scintView.execute(SCI_SETSTYLING, end - start + 2, SCE_SEARCHRESULT_HIGHLIGHT_LINE); - _scintView.execute(SCI_COLOURISE, start, end + 1); } void Finder::deleteResult() diff --git a/PowerEditor/src/stylers.model.xml b/PowerEditor/src/stylers.model.xml index 9ff25af5..b8d29fc7 100644 --- a/PowerEditor/src/stylers.model.xml +++ b/PowerEditor/src/stylers.model.xml @@ -1366,7 +1366,6 @@ - diff --git a/scintilla/include/SciLexer.h b/scintilla/include/SciLexer.h index 0419299e..c8081f4e 100644 --- a/scintilla/include/SciLexer.h +++ b/scintilla/include/SciLexer.h @@ -334,7 +334,7 @@ #define SCE_SEARCHRESULT_FILE_HEADER 2 #define SCE_SEARCHRESULT_LINE_NUMBER 3 #define SCE_SEARCHRESULT_WORD2SEARCH 4 -#define SCE_SEARCHRESULT_HIGHLIGHT_LINE 5 +//#define SCE_SEARCHRESULT_HIGHLIGHT_LINE 5 // (no use anymore) #define SCE_SEARCHRESULT_CURRENT_LINE 6 #define SCE_OBJC_DIRECTIVE 20 #define SCE_OBJC_QUALIFIER 21