Remove obsolete code

This commit is contained in:
Don HO 2020-12-10 14:56:47 +01:00
parent 6c3ecacdb7
commit 4768fec82d
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E
3 changed files with 1 additions and 10 deletions

View File

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

View File

@ -1366,7 +1366,6 @@
<WordsStyle name="File Header" styleID="2" fgColor="008000" bgColor="D5FFD5" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="Line Number" styleID="3" fgColor="FF8040" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="Hit Word" styleID="4" fgColor="FF0000" bgColor="FFFFBF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="Selected Line" styleID="5" fgColor="000080" bgColor="FFFF4F" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="Current line background colour" styleID="6" bgColor="E8E8FF" />
</LexerType>
</LexerStyles>

View File

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