From: <td...@us...> - 2003-12-11 04:15:24
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1:/tmp/cvs-serv9174 Modified Files: AnyEdit.cpp AnyEdit.h AnyEditView.cpp AnyEditView.h ReadMe.txt Log Message: - Fixed LPCSTR related issues Index: AnyEdit.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.cpp,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** AnyEdit.cpp 7 Dec 2003 17:06:10 -0000 1.37 --- AnyEdit.cpp 11 Dec 2003 04:15:21 -0000 1.38 *************** *** 554,564 **** LPCSTR CAnyEditApp::GetAppPath() { ! /*TCHAR filName[_MAX_PATH]; ! GetModuleFileName(NULL,filName, _MAX_PATH); ! CString tempAppPath = msc.GetParentFolderForFile(filName); ! return tempAppPath;*/ ! CString retPath; ! retPath=m_appPath; ! return retPath; } --- 554,558 ---- LPCSTR CAnyEditApp::GetAppPath() { ! return m_appPath; } *************** *** 1106,1110 **** } ! LPCSTR CAnyEditApp::SetScintillaLanguage(LPCSTR ext, CScintilla *scintilla) { --- 1100,1104 ---- } ! CString CAnyEditApp::SetScintillaLanguage(LPCSTR ext, CScintilla *scintilla) { *************** *** 1252,1256 **** } ! LPCSTR CAnyEditApp::GetCompFilePathFromLang(LPCSTR lang) { CHAR tempStr[1024]; --- 1246,1250 ---- } ! CString CAnyEditApp::GetCompFilePathFromLang(LPCSTR lang) { CHAR tempStr[1024]; Index: AnyEdit.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.h,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** AnyEdit.h 7 Dec 2003 17:06:10 -0000 1.31 --- AnyEdit.h 11 Dec 2003 04:15:21 -0000 1.32 *************** *** 64,68 **** void OpenBrowserWindow(LPCSTR url); CObject * LoadLanguage(LPCSTR langpos); ! LPCSTR SetScintillaLanguage(LPCSTR ext, CScintilla *scintilla); CLanguage * GetLanguage(LPCSTR ext); void LoadLanguageExtensions(); --- 64,68 ---- void OpenBrowserWindow(LPCSTR url); CObject * LoadLanguage(LPCSTR langpos); ! CString SetScintillaLanguage(LPCSTR ext, CScintilla *scintilla); CLanguage * GetLanguage(LPCSTR ext); void LoadLanguageExtensions(); *************** *** 103,107 **** LPCSTR GetCurDocPath(); void ResetClassView(LPCSTR str,BOOL parseForProject=false); ! LPCSTR GetCompFilePathFromLang(LPCSTR lang); BOOL LockTagList(); void UnlockTagList(); --- 103,107 ---- LPCSTR GetCurDocPath(); void ResetClassView(LPCSTR str,BOOL parseForProject=false); ! CString GetCompFilePathFromLang(LPCSTR lang); BOOL LockTagList(); void UnlockTagList(); Index: AnyEditView.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEditView.cpp,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** AnyEditView.cpp 7 Dec 2003 17:06:11 -0000 1.39 --- AnyEditView.cpp 11 Dec 2003 04:15:21 -0000 1.40 *************** *** 1099,1103 **** ! LPCSTR CAnyEditView::GetInputValues(LPCSTR curLine) { CString inpLine = curLine; --- 1099,1103 ---- ! CString CAnyEditView::GetInputValues(LPCSTR curLine) { CString inpLine = curLine; Index: AnyEditView.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEditView.h,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** AnyEditView.h 7 Dec 2003 17:06:11 -0000 1.21 --- AnyEditView.h 11 Dec 2003 04:15:21 -0000 1.22 *************** *** 72,76 **** void SetLineStyle(int linenumber,int style=0,COLORREF color=RGB(0,0,0)); void ResetLineStyle(int linenumber=-1); ! LPCSTR GetInputValues(LPCSTR curline); void InsertStringArray(CStringArray &arr); void JustOpenedFile(); --- 72,76 ---- void SetLineStyle(int linenumber,int style=0,COLORREF color=RGB(0,0,0)); void ResetLineStyle(int linenumber=-1); ! CString GetInputValues(LPCSTR curline); void InsertStringArray(CStringArray &arr); void JustOpenedFile(); Index: ReadMe.txt =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ReadMe.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ReadMe.txt 22 Sep 2002 08:27:56 -0000 1.1 --- ReadMe.txt 11 Dec 2003 04:15:21 -0000 1.2 *************** *** 1,2 **** Look at the Readme folder for more information ! Developers have a look at devreadme.txt \ No newline at end of file --- 1,4 ---- Look at the Readme folder for more information ! Developers have a look at devreadme.txt ! ! GetPathName() seems to return wrong valu..! \ No newline at end of file |