Skip to content

Commit

Permalink
Remove more typedef struct.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Jun 2, 2024
1 parent 2f60c22 commit bc0050b
Show file tree
Hide file tree
Showing 7 changed files with 86 additions and 92 deletions.
21 changes: 9 additions & 12 deletions matepath/src/Dialogs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,7 @@ INT_PTR CALLBACK GotoDlgProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam)
ComboBox_LimitText(hwndGoto, MAX_PATH - 1);
ComboBox_SetExtendedUI(hwndGoto, TRUE);

for (int i = 0; i < HISTORY_ITEMS; i++) {
LPCWSTR path = mHistory.psz[i];
for (LPCWSTR path : mHistory.psz) {
if (path) {
const int iItem = ComboBox_FindStringExact(hwndGoto, -1, path);
if (iItem != CB_ERR) {
Expand Down Expand Up @@ -1545,14 +1544,12 @@ bool GetFilterDlg(HWND hwnd) noexcept {
}

// Data structure used in file operation dialogs
typedef struct FILEOPDLGDATA {
struct FILEOPDLGDATA {
WCHAR szSource[MAX_PATH];
WCHAR szDestination[MAX_PATH];
LPMRULIST pmru;
UINT wFunc;
} FILEOPDLGDATA, *LPFILEOPDLGDATA;

typedef const FILEOPDLGDATA * LPCFILEOPDLGDATA;
};

extern int cxRenameFileDlg;
//=============================================================================
Expand All @@ -1565,7 +1562,7 @@ INT_PTR CALLBACK RenameFileDlgProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM l
case WM_INITDIALOG: {
SetWindowLongPtr(hwnd, DWLP_USER, lParam);
ResizeDlg_InitX(hwnd, cxRenameFileDlg, IDC_RESIZEGRIP2);
const LPCFILEOPDLGDATA lpfod = (LPCFILEOPDLGDATA)lParam;
const FILEOPDLGDATA * const lpfod = reinterpret_cast<const FILEOPDLGDATA *>(lParam);

SetDlgItemText(hwnd, IDC_OLDNAME, lpfod->szSource);

Expand Down Expand Up @@ -1611,7 +1608,7 @@ INT_PTR CALLBACK RenameFileDlgProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM l
if (!Edit_GetModify(hwndCtl)) {
EndDialog(hwnd, IDCANCEL);
} else {
LPFILEOPDLGDATA lpfod = (LPFILEOPDLGDATA)GetWindowLongPtr(hwnd, DWLP_USER);
FILEOPDLGDATA * const lpfod = reinterpret_cast<FILEOPDLGDATA *>(GetWindowLongPtr(hwnd, DWLP_USER));
Edit_GetText(hwndCtl, lpfod->szDestination, COUNTOF(lpfod->szDestination) - 1);
EndDialog(hwnd, IDOK);
}
Expand Down Expand Up @@ -1697,7 +1694,7 @@ INT_PTR CALLBACK CopyMoveDlgProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lPa
ResizeDlg_InitX(hwnd, cxCopyMoveDlg, IDC_RESIZEGRIP5);
MakeBitmapButton(hwnd, IDC_BROWSEDESTINATION, g_exeInstance, IDB_OPEN_FOLDER16);

const LPCFILEOPDLGDATA lpfod = (LPCFILEOPDLGDATA)lParam;
const FILEOPDLGDATA * const lpfod = reinterpret_cast<const FILEOPDLGDATA *>(lParam);
SetDlgItemText(hwnd, IDC_SOURCE, lpfod->szSource);

HWND hwndDest = GetDlgItem(hwnd, IDC_DESTINATION);
Expand Down Expand Up @@ -1750,7 +1747,7 @@ INT_PTR CALLBACK CopyMoveDlgProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lPa
case WM_NOTIFY: {
LPNMHDR pnmhdr = (LPNMHDR)lParam;
if (pnmhdr->idFrom == IDC_EMPTY_MRU && (pnmhdr->code == NM_CLICK || pnmhdr->code == NM_RETURN)) {
const LPCFILEOPDLGDATA lpfod = (LPCFILEOPDLGDATA)lParam;
const FILEOPDLGDATA * const lpfod = reinterpret_cast<const FILEOPDLGDATA *>(GetWindowLongPtr(hwnd, DWLP_USER));
WCHAR tch[MAX_PATH];
HWND hwndDest = GetDlgItem(hwnd, IDC_DESTINATION);
ComboBox_GetText(hwndDest, tch, COUNTOF(tch));
Expand Down Expand Up @@ -1782,7 +1779,7 @@ INT_PTR CALLBACK CopyMoveDlgProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lPa

case IDOK: {
/*text*/
LPFILEOPDLGDATA lpfod = (LPFILEOPDLGDATA)GetWindowLongPtr(hwnd, DWLP_USER);
FILEOPDLGDATA * const lpfod = reinterpret_cast<FILEOPDLGDATA *>(GetWindowLongPtr(hwnd, DWLP_USER));
HWND hwndDest = GetDlgItem(hwnd, IDC_DESTINATION);
if (ComboBox_GetText(hwndDest, lpfod->szDestination, COUNTOF(lpfod->szDestination) - 1)) {
lpfod->wFunc = IsButtonChecked(hwnd, IDC_FUNCCOPY) ? FO_COPY : FO_MOVE;
Expand Down Expand Up @@ -2121,7 +2118,7 @@ INT_PTR CALLBACK NewDirDlgProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lPara
break;

case IDOK: {
LPFILEOPDLGDATA lpfod = (LPFILEOPDLGDATA)GetWindowLongPtr(hwnd, DWLP_USER);
FILEOPDLGDATA * const lpfod = reinterpret_cast<FILEOPDLGDATA *>(GetWindowLongPtr(hwnd, DWLP_USER));
GetDlgItemText(hwnd, IDC_NEWDIR, lpfod->szDestination, COUNTOF(lpfod->szDestination) - 1);
EndDialog(hwnd, IDOK);
}
Expand Down
32 changes: 16 additions & 16 deletions src/Dialogs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ int MsgBox(UINT uType, UINT uIdMsg, ...) noexcept {
#if NP2_ENABLE_APP_LOCALIZATION_DLL
const LANGID lang = uiLanguage;
#else
const LANGID lang = LANG_USER_DEFAULT;
constexpr LANGID lang = LANG_USER_DEFAULT;
#endif

if (uType & MB_SERVICE_NOTIFICATION) {
Expand Down Expand Up @@ -1822,17 +1822,15 @@ bool TabSettingsDlg(HWND hwnd) noexcept {
// SelectDefEncodingDlgProc()
//
//
typedef struct ENCODEDLG {
struct ENCODEDLG {
bool bRecodeOnly;
int idEncoding;
int cxDlg;
int cyDlg;
UINT uidLabel;
} ENCODEDLG, *PENCODEDLG;

typedef const ENCODEDLG *LPCENCODEDLG;
};

static INT_PTR CALLBACK SelectDefEncodingDlgProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam) {
static INT_PTR CALLBACK SelectDefEncodingDlgProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam) noexcept {
switch (umsg) {
case WM_INITDIALOG: {
SetWindowLongPtr(hwnd, DWLP_USER, lParam);
Expand Down Expand Up @@ -1920,7 +1918,7 @@ static INT_PTR CALLBACK SelectEncodingDlgProc(HWND hwnd, UINT umsg, WPARAM wPara
switch (umsg) {
case WM_INITDIALOG: {
SetWindowLongPtr(hwnd, DWLP_USER, lParam);
const LPCENCODEDLG pdd = (LPCENCODEDLG)lParam;
const ENCODEDLG * const pdd = reinterpret_cast<const ENCODEDLG*>(lParam);
ResizeDlg_Init(hwnd, pdd->cxDlg, pdd->cyDlg, IDC_RESIZEGRIP);

WCHAR wch[256];
Expand Down Expand Up @@ -1958,7 +1956,7 @@ static INT_PTR CALLBACK SelectEncodingDlgProc(HWND hwnd, UINT umsg, WPARAM wPara
return TRUE;

case WM_DESTROY: {
PENCODEDLG pdd = (PENCODEDLG)GetWindowLongPtr(hwnd, DWLP_USER);
ENCODEDLG * pdd = reinterpret_cast<ENCODEDLG *>(GetWindowLongPtr(hwnd, DWLP_USER));
ResizeDlg_Destroy(hwnd, &pdd->cxDlg, &pdd->cyDlg);
HIMAGELIST himl = TreeView_GetImageList(GetDlgItem(hwnd, IDC_ENCODINGLIST), TVSIL_NORMAL);
ImageList_Destroy(himl);
Expand Down Expand Up @@ -2013,7 +2011,7 @@ static INT_PTR CALLBACK SelectEncodingDlgProc(HWND hwnd, UINT umsg, WPARAM wPara
switch (LOWORD(wParam)) {
case IDOK: {
HWND hwndTV = GetDlgItem(hwnd, IDC_ENCODINGLIST);
PENCODEDLG pdd = (PENCODEDLG)GetWindowLongPtr(hwnd, DWLP_USER);
ENCODEDLG * pdd = reinterpret_cast<ENCODEDLG *>(GetWindowLongPtr(hwnd, DWLP_USER));
if (Encoding_GetFromTreeView(hwndTV, &pdd->idEncoding, false)) {
EndDialog(hwnd, IDOK);
} else {
Expand Down Expand Up @@ -2267,7 +2265,7 @@ void ZoomLevelDlg(HWND hwnd, bool bBottom) noexcept {

extern EditAutoCompletionConfig autoCompletionConfig;

static INT_PTR CALLBACK AutoCompletionSettingsDlgProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam) {
static INT_PTR CALLBACK AutoCompletionSettingsDlgProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam) noexcept {
UNREFERENCED_PARAMETER(lParam);

switch (umsg) {
Expand Down Expand Up @@ -2555,7 +2553,7 @@ static INT_PTR CALLBACK AutoSaveSettingsDlgProc(HWND hwnd, UINT umsg, WPARAM wPa
GetDlgItemText(hwnd, IDC_AUTOSAVE_PERIOD, tch, COUNTOF(tch));
float period = 0;
StrToFloat(tch, &period);
dwAutoSavePeriod = (DWORD)(period * 1000);
dwAutoSavePeriod = static_cast<int>(period * 1000);
EndDialog(hwnd, IDOK);
}
break;
Expand Down Expand Up @@ -2584,26 +2582,26 @@ bool AutoSaveSettingsDlg(HWND hwnd) noexcept {
// InfoBoxDlgProc()
//
//
namespace {

struct INFOBOX {
LPWSTR lpstrMessage;
LPCWSTR lpstrSetting;
LPCWSTR idiIcon;
bool bDisableCheckBox;
};

typedef const INFOBOX * LPCINFOBOX;

enum SuppressMmessage {
SuppressMmessage_None = 0,
SuppressMmessage_Suppress,
SuppressMmessage_Never,
};

static INT_PTR CALLBACK InfoBoxDlgProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam) noexcept {
INT_PTR CALLBACK InfoBoxDlgProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam) noexcept {
switch (umsg) {
case WM_INITDIALOG: {
SetWindowLongPtr(hwnd, DWLP_USER, lParam);
const LPCINFOBOX lpib = (LPCINFOBOX)lParam;
const INFOBOX * const lpib = reinterpret_cast<const INFOBOX *>(lParam);

SendDlgItemMessage(hwnd, IDC_INFOBOXICON, STM_SETICON, (WPARAM)LoadIcon(nullptr, lpib->idiIcon), 0);
SetDlgItemText(hwnd, IDC_INFOBOXTEXT, lpib->lpstrMessage);
Expand Down Expand Up @@ -2633,7 +2631,7 @@ static INT_PTR CALLBACK InfoBoxDlgProc(HWND hwnd, UINT umsg, WPARAM wParam, LPAR
case IDYES:
case IDNO:
if (IsButtonChecked(hwnd, IDC_INFOBOXCHECK)) {
const LPCINFOBOX lpib = (LPCINFOBOX)GetWindowLongPtr(hwnd, DWLP_USER);
const INFOBOX * const lpib = reinterpret_cast<const INFOBOX *>(GetWindowLongPtr(hwnd, DWLP_USER));
IniSetBool(INI_SECTION_NAME_SUPPRESSED_MESSAGES, lpib->lpstrSetting, true);
}
EndDialog(hwnd, LOWORD(wParam));
Expand All @@ -2644,6 +2642,8 @@ static INT_PTR CALLBACK InfoBoxDlgProc(HWND hwnd, UINT umsg, WPARAM wParam, LPAR
return FALSE;
}

}

//=============================================================================
//
// InfoBox()
Expand Down
35 changes: 17 additions & 18 deletions src/Edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4708,7 +4708,7 @@ static void FindReplaceSetFont(HWND hwnd, bool monospaced, HFONT *hFontFindRepla
}
}

static bool CopySelectionAsFindText(HWND hwnd, LPEDITFINDREPLACE lpefr, bool bFirstTime) noexcept {
static bool CopySelectionAsFindText(HWND hwnd, EDITFINDREPLACE *lpefr, bool bFirstTime) noexcept {
const Sci_Position cchSelection = SciCall_GetSelTextLength();
char *lpszSelection = nullptr;

Expand Down Expand Up @@ -4778,7 +4778,7 @@ static INT_PTR CALLBACK EditFindReplaceDlgProc(HWND hwnd, UINT umsg, WPARAM wPar
// Load MRUs
MRU_AddToCombobox(&mruFind, hwndFind);

LPEDITFINDREPLACE lpefr = (LPEDITFINDREPLACE)lParam;
EDITFINDREPLACE * const lpefr = reinterpret_cast<EDITFINDREPLACE *>(lParam);
// don't copy selection after toggle find & replace on this window.
bool hasFindText = false;
if (bSwitchedFindReplace != 3) {
Expand Down Expand Up @@ -4882,7 +4882,7 @@ static INT_PTR CALLBACK EditFindReplaceDlgProc(HWND hwnd, UINT umsg, WPARAM wPar
case APPM_COPYDATA: {
HWND hwndFind = GetDlgItem(hwnd, IDC_FINDTEXT);
HWND hwndRepl = GetDlgItem(hwnd, IDC_REPLACETEXT);
LPEDITFINDREPLACE lpefr = (LPEDITFINDREPLACE)GetWindowLongPtr(hwnd, DWLP_USER);
EDITFINDREPLACE * const lpefr = reinterpret_cast<EDITFINDREPLACE *>(GetWindowLongPtr(hwnd, DWLP_USER));

const bool hasFindText = CopySelectionAsFindText(hwnd, lpefr, false);
if (!GetWindowTextLength(hwndFind)) {
Expand Down Expand Up @@ -4989,7 +4989,7 @@ static INT_PTR CALLBACK EditFindReplaceDlgProc(HWND hwnd, UINT umsg, WPARAM wPar
case IDC_REPLACEINSEL:
case IDACC_SELTONEXT:
case IDACC_SELTOPREV: {
LPEDITFINDREPLACE lpefr = (LPEDITFINDREPLACE)GetWindowLongPtr(hwnd, DWLP_USER);
EDITFINDREPLACE * const lpefr = reinterpret_cast<EDITFINDREPLACE *>(GetWindowLongPtr(hwnd, DWLP_USER));
HWND hwndFind = GetDlgItem(hwnd, IDC_FINDTEXT);
HWND hwndRepl = GetDlgItem(hwnd, IDC_REPLACETEXT);
const bool bIsFindDlg = (hwndRepl == nullptr);
Expand Down Expand Up @@ -5152,7 +5152,7 @@ static INT_PTR CALLBACK EditFindReplaceDlgProc(HWND hwnd, UINT umsg, WPARAM wPar

case IDACC_SAVEFIND: {
SendWMCommand(hwndMain, IDM_EDIT_SAVEFIND);
LPCEDITFINDREPLACE lpefr = (LPCEDITFINDREPLACE)GetWindowLongPtr(hwnd, DWLP_USER);
const EDITFINDREPLACE * const lpefr = reinterpret_cast<const EDITFINDREPLACE *>(GetWindowLongPtr(hwnd, DWLP_USER));
SetDlgItemTextA2W(CP_UTF8, hwnd, IDC_FINDTEXT, lpefr->szFindUTF8);
CheckDlgButton(hwnd, IDC_FINDREGEXP, BST_UNCHECKED);
CheckDlgButton(hwnd, IDC_FINDTRANSFORMBS, BST_UNCHECKED);
Expand All @@ -5162,7 +5162,7 @@ static INT_PTR CALLBACK EditFindReplaceDlgProc(HWND hwnd, UINT umsg, WPARAM wPar

case IDC_TOGGLEFINDREPLACE: {
bSwitchedFindReplace |= 2;
LPEDITFINDREPLACE lpefr = (LPEDITFINDREPLACE)GetWindowLongPtr(hwnd, DWLP_USER);
EDITFINDREPLACE * const lpefr = reinterpret_cast<EDITFINDREPLACE *>(GetWindowLongPtr(hwnd, DWLP_USER));
GetDlgPos(hwnd, &xFindReplaceDlgSave, &yFindReplaceDlgSave);
memcpy(&efrSave, lpefr, sizeof(EDITFINDREPLACE));
GetDlgItemTextA2W(CP_UTF8, hwnd, IDC_FINDTEXT, lpefr->szFindUTF8, COUNTOF(lpefr->szFindUTF8));
Expand Down Expand Up @@ -5246,7 +5246,7 @@ static INT_PTR CALLBACK EditFindReplaceDlgProc(HWND hwnd, UINT umsg, WPARAM wPar
//
// EditFindReplaceDlg()
//
HWND EditFindReplaceDlg(HWND hwnd, LPEDITFINDREPLACE lpefr, bool bReplace) noexcept {
HWND EditFindReplaceDlg(HWND hwnd, EDITFINDREPLACE *lpefr, bool bReplace) noexcept {
lpefr->hwnd = hwnd;
HWND hDlg = CreateThemedDialogParam(g_hInstance,
(bReplace) ? MAKEINTRESOURCE(IDD_REPLACE) : MAKEINTRESOURCE(IDD_FIND),
Expand Down Expand Up @@ -5285,7 +5285,7 @@ static void EscapeWildcards(char *szFind2) noexcept {
strncpy(szFind2, szWildcardEscaped, COUNTOF(szWildcardEscaped));
}

int EditPrepareFind(char *szFind2, LPCEDITFINDREPLACE lpefr) noexcept {
int EditPrepareFind(char *szFind2, const EDITFINDREPLACE *lpefr) noexcept {
if (StrIsEmpty(lpefr->szFind)) {
return NP2_InvalidSearchFlags;
}
Expand All @@ -5311,7 +5311,7 @@ int EditPrepareFind(char *szFind2, LPCEDITFINDREPLACE lpefr) noexcept {
return searchFlags;
}

int EditPrepareReplace(HWND hwnd, char *szFind2, char **pszReplace2, BOOL *bReplaceRE, LPCEDITFINDREPLACE lpefr) noexcept {
int EditPrepareReplace(HWND hwnd, char *szFind2, char **pszReplace2, BOOL *bReplaceRE, const EDITFINDREPLACE *lpefr) noexcept {
const int searchFlags = EditPrepareFind(szFind2, lpefr);
if (searchFlags == NP2_InvalidSearchFlags) {
return searchFlags;
Expand Down Expand Up @@ -5339,7 +5339,7 @@ int EditPrepareReplace(HWND hwnd, char *szFind2, char **pszReplace2, BOOL *bRepl
//
// EditFindNext()
//
void EditFindNext(LPCEDITFINDREPLACE lpefr, bool fExtendSelection) noexcept {
void EditFindNext(const EDITFINDREPLACE *lpefr, bool fExtendSelection) noexcept {
char szFind2[NP2_FIND_REPLACE_LIMIT];
const int searchFlags = EditPrepareFind(szFind2, lpefr);
if (searchFlags == NP2_InvalidSearchFlags) {
Expand Down Expand Up @@ -5381,7 +5381,7 @@ void EditFindNext(LPCEDITFINDREPLACE lpefr, bool fExtendSelection) noexcept {
//
// EditFindPrev()
//
void EditFindPrev(LPCEDITFINDREPLACE lpefr, bool fExtendSelection) noexcept {
void EditFindPrev(const EDITFINDREPLACE *lpefr, bool fExtendSelection) noexcept {
char szFind2[NP2_FIND_REPLACE_LIMIT];
const int searchFlags = EditPrepareFind(szFind2, lpefr);
if (searchFlags == NP2_InvalidSearchFlags) {
Expand Down Expand Up @@ -5423,7 +5423,7 @@ void EditFindPrev(LPCEDITFINDREPLACE lpefr, bool fExtendSelection) noexcept {
//
// EditReplace()
//
bool EditReplace(HWND hwnd, LPCEDITFINDREPLACE lpefr) noexcept {
bool EditReplace(HWND hwnd, const EDITFINDREPLACE *lpefr) noexcept {
BOOL bReplaceRE;
char szFind2[NP2_FIND_REPLACE_LIMIT];
char *pszReplace2;
Expand Down Expand Up @@ -5756,7 +5756,7 @@ void EditMarkAll(BOOL bChanged, bool matchCase, bool wholeWord, bool bookmark) {
EditMarkAll_Start(bChanged, findFlag, iSelCount, pszText);
}

void EditFindAll(LPCEDITFINDREPLACE lpefr, bool selectAll) {
void EditFindAll(const EDITFINDREPLACE *lpefr, bool selectAll) {
char *szFind2 = (char *)NP2HeapAlloc(NP2_FIND_REPLACE_LIMIT);
int searchFlags = EditPrepareFind(szFind2, lpefr);
if (searchFlags == NP2_InvalidSearchFlags) {
Expand Down Expand Up @@ -5828,7 +5828,7 @@ static void ShwowReplaceCount(Sci_Position iCount) noexcept {
//
// EditReplaceAll()
//
bool EditReplaceAll(HWND hwnd, LPCEDITFINDREPLACE lpefr, bool bShowInfo) noexcept {
bool EditReplaceAll(HWND hwnd, const EDITFINDREPLACE *lpefr, bool bShowInfo) noexcept {
BOOL bReplaceRE;
char szFind2[NP2_FIND_REPLACE_LIMIT];
char *pszReplace2;
Expand Down Expand Up @@ -5908,7 +5908,7 @@ bool EditReplaceAll(HWND hwnd, LPCEDITFINDREPLACE lpefr, bool bShowInfo) noexcep
//
// EditReplaceAllInSelection()
//
bool EditReplaceAllInSelection(HWND hwnd, LPCEDITFINDREPLACE lpefr, bool bShowInfo) noexcept {
bool EditReplaceAllInSelection(HWND hwnd, const EDITFINDREPLACE *lpefr, bool bShowInfo) noexcept {
if (SciCall_IsRectangleSelection()) {
NotifyRectangleSelection();
return false;
Expand Down Expand Up @@ -6740,8 +6740,7 @@ void EditInsertUnicodeControlCharacter(int menu) noexcept {
}

void EditShowUnicodeControlCharacter(bool bShow) noexcept {
for (UINT i = 0; i < COUNTOF(kUnicodeControlCharacterTable); i++) {
const UnicodeControlCharacter ucc = kUnicodeControlCharacterTable[i];
for (const auto ucc : kUnicodeControlCharacterTable) {
if (StrIsEmpty(ucc.representation)) {
// built-in
continue;
Expand Down Expand Up @@ -7036,7 +7035,7 @@ char *EditGetStringAroundCaret(LPCSTR delimiters) noexcept {
}

Sci_TextToFindFull ft = { { iCurrentPos, 0 }, delimiters, { 0, 0 } };
const int findFlag = NP2_RegexDefaultFlags;
constexpr int findFlag = NP2_RegexDefaultFlags;

// forward
if (iCurrentPos < iLineEnd) {
Expand Down
Loading

0 comments on commit bc0050b

Please sign in to comment.