Code::Blocks
SVN r11506
src
find_replace.h
Go to the documentation of this file.
1
#ifndef _CODEBLOCKS_SRC_FIND_REPLACE_H_
2
#define _CODEBLOCKS_SRC_FIND_REPLACE_H_
3
4
struct
cbFindReplaceData
;
5
class
cbStyledTextCtrl
;
6
class
wxString
;
7
class
cbSearchResultsLog
;
8
9
class
FindReplace
10
{
11
public
:
12
FindReplace
();
13
~FindReplace
();
14
15
void
CreateSearchLog
();
16
17
int
ShowFindDialog
(
bool
replace,
bool
explicitly_find_in_files =
false
);
18
int
FindNext
(
bool
goingDown,
cbStyledTextCtrl
* control,
cbFindReplaceData
* data,
bool
selected);
19
int
FindSelectedText
(
bool
goingDown);
20
21
private
:
22
void
LogSearch
(
const
wxString
& file,
int
line,
const
wxString
& lineText);
23
24
void
CalculateFindReplaceStartEnd
(
cbStyledTextCtrl
* control,
cbFindReplaceData
* data,
bool
replace =
false
);
25
int
Find
(
cbStyledTextCtrl
* control,
cbFindReplaceData
* data);
26
int
FindInFiles
(
cbFindReplaceData
* data);
27
int
Replace
(
cbStyledTextCtrl
* control,
cbFindReplaceData
* data);
28
int
ReplaceInFiles
(
cbFindReplaceData
* data);
29
30
private
:
31
cbFindReplaceData
*
m_LastFindReplaceData
;
32
cbSearchResultsLog
*
m_pSearchLog
;
33
};
34
35
#endif // _CODEBLOCKS_SRC_FIND_REPLACE_H_
36
FindReplace::Replace
int Replace(cbStyledTextCtrl *control, cbFindReplaceData *data)
Definition:
find_replace.cpp:409
FindReplace::FindReplace
FindReplace()
Definition:
find_replace.cpp:105
FindReplace::ReplaceInFiles
int ReplaceInFiles(cbFindReplaceData *data)
Definition:
find_replace.cpp:678
FindReplace::ShowFindDialog
int ShowFindDialog(bool replace, bool explicitly_find_in_files=false)
Definition:
find_replace.cpp:166
cbSearchResultsLog
Definition:
searchresultslog.h:15
FindReplace::CreateSearchLog
void CreateSearchLog()
Definition:
find_replace.cpp:115
FindReplace::m_pSearchLog
cbSearchResultsLog * m_pSearchLog
Definition:
find_replace.h:32
FindReplace::~FindReplace
~FindReplace()
Definition:
find_replace.cpp:110
wxString
cbStyledTextCtrl
Definition:
cbstyledtextctrl.h:21
FindReplace::CalculateFindReplaceStartEnd
void CalculateFindReplaceStartEnd(cbStyledTextCtrl *control, cbFindReplaceData *data, bool replace=false)
Definition:
find_replace.cpp:303
FindReplace::Find
int Find(cbStyledTextCtrl *control, cbFindReplaceData *data)
Definition:
find_replace.cpp:1117
FindReplace::FindNext
int FindNext(bool goingDown, cbStyledTextCtrl *control, cbFindReplaceData *data, bool selected)
Definition:
find_replace.cpp:1553
FindReplace::FindInFiles
int FindInFiles(cbFindReplaceData *data)
Definition:
find_replace.cpp:1304
FindReplace
Definition:
find_replace.h:9
FindReplace::LogSearch
void LogSearch(const wxString &file, int line, const wxString &lineText)
Definition:
find_replace.cpp:138
FindReplace::FindSelectedText
int FindSelectedText(bool goingDown)
Definition:
find_replace.cpp:1636
cbFindReplaceData
Definition:
find_replace.cpp:26
FindReplace::m_LastFindReplaceData
cbFindReplaceData * m_LastFindReplaceData
Definition:
find_replace.h:31
Generated by
1.8.13