Skip to content

Commit 776f408

Browse files
code clean up
1 parent 527413c commit 776f408

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ RegexAssistant_i.c
2626
/.vs
2727
/enc_temp_folder
2828
/RegexLibs
29+
/OldVersions
2930
*.aps
3031
RegexAssistant.7z
3132
Docs/ProjectImages/RegexAssistant_DefaultStartupScreenSet2.png

RegexAssistant/RegexAssistantDlg.cpp

-14
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
// ToDo: Add Hide/Unhide token list window
1111
// ToDo: See if the UNDO button can be made with drown option which has the SQL, FileSys, and Ignore Case options.
1212
#include "pch.h"
13-
//#define PY_SSIZE_T_CLEAN
14-
//#include <Python.h>
1513
#include <afxlayout.h>
1614
#include <boost/regex.hpp>
1715
#include <boost/xpressive/xpressive_fwd.hpp>
@@ -54,18 +52,6 @@ CRegexAssistantDlg::CRegexAssistantDlg( CString regex_search, CString regex_repl
5452
, m_py_decodelocale( NULL ), m_RegexCompatibility_cmbx( _T( "Items in grey, are awaiting implementation." ), mfcx::DisableColorRefSet( RGB( 105, 105, 105 ), RGB( 169, 169, 169 ) ) )
5553
{
5654
_ASSERT_EXPR( (sizeof( m_MarkerData ) / sizeof( MARKERDATAtag )) == NUM_OF_MARKERS, _T( "Make sure the number of enums before NUM_OF_MARKERS, is equal to the number of MARKERDATAtag in m_MarkerData" ) );
57-
//if ( m_bMakingChangeByReplacementLogic )
58-
//{
59-
// m_py_decodelocale = Py_DecodeLocale( __argv[0], 0 );
60-
// if ( m_py_decodelocale == NULL )
61-
// REPORT_ERR_AND_EXIT( -6, "Fatal error: Py_DecodeLocale failed!" );
62-
// Py_SetProgramName( m_py_decodelocale );
63-
// Py_Initialize();
64-
// PyRun_SimpleString( "from time import time,ctime\n"
65-
// "print('Hello World. Today is', ctime(time()))\n" );
66-
// Py_FinalizeEx();
67-
//}
68-
6955
if ( sampleloadmethod == SampleLoadMethod::SampleLoadFromCommandLine )
7056
m_SampleText = Sample;
7157
else if ( sampleloadmethod == SampleLoadMethod::SampleLoadFromClipboard )

0 commit comments

Comments
 (0)