Remove obsolete code
This commit is contained in:
parent
6c3ecacdb7
commit
4768fec82d
|
@ -548,14 +548,6 @@ void Finder::gotoFoundLine()
|
||||||
|
|
||||||
(*_ppEditView)->_positionRestoreNeeded = false;
|
(*_ppEditView)->_positionRestoreNeeded = false;
|
||||||
Searching::displaySectionCentered(fInfo._start, fInfo._end, *_ppEditView);
|
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()
|
void Finder::deleteResult()
|
||||||
|
|
|
@ -1366,7 +1366,6 @@
|
||||||
<WordsStyle name="File Header" styleID="2" fgColor="008000" bgColor="D5FFD5" fontName="" fontStyle="1" fontSize="" />
|
<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="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="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" />
|
<WordsStyle name="Current line background colour" styleID="6" bgColor="E8E8FF" />
|
||||||
</LexerType>
|
</LexerType>
|
||||||
</LexerStyles>
|
</LexerStyles>
|
||||||
|
|
|
@ -334,7 +334,7 @@
|
||||||
#define SCE_SEARCHRESULT_FILE_HEADER 2
|
#define SCE_SEARCHRESULT_FILE_HEADER 2
|
||||||
#define SCE_SEARCHRESULT_LINE_NUMBER 3
|
#define SCE_SEARCHRESULT_LINE_NUMBER 3
|
||||||
#define SCE_SEARCHRESULT_WORD2SEARCH 4
|
#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_SEARCHRESULT_CURRENT_LINE 6
|
||||||
#define SCE_OBJC_DIRECTIVE 20
|
#define SCE_OBJC_DIRECTIVE 20
|
||||||
#define SCE_OBJC_QUALIFIER 21
|
#define SCE_OBJC_QUALIFIER 21
|
||||||
|
|
Loading…
Reference in New Issue