You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
(30) |
Aug
(6) |
Sep
(3) |
Oct
(1) |
Nov
(13) |
Dec
(15) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
(17) |
Mar
(7) |
Apr
(10) |
May
(34) |
Jun
(17) |
Jul
(150) |
Aug
(59) |
Sep
(186) |
Oct
(57) |
Nov
(45) |
Dec
(22) |
2005 |
Jan
(10) |
Feb
(10) |
Mar
(6) |
Apr
(24) |
May
(10) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(35) |
Nov
(12) |
Dec
(1) |
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(7) |
Nov
(1) |
Dec
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1:/tmp/cvs-serv2505 Modified Files: AnyEdit.dsp AnyEdit.rc ChangeLog.txt MainFrm.cpp MainFrm.h resource.h Added Files: Plugin.cpp Plugin.h Log Message: Added Initial plugin support Added diff plugin --- NEW FILE: Plugin.cpp --- #include "stdafx.h" #include "AnyEdit.h" #include "Plugin.h" void CPlugin::OpenUrl(LPCSTR url) { theApp.OpenBrowserWindow(url); } LPCSTR CPlugin::GetAppPath() { return theApp.GetAppPath(); } --- NEW FILE: Plugin.h --- #ifndef PLUGIN_H #define PLUGIN_H class CPlugin { public: virtual void OpenUrl(LPCSTR url); virtual LPCSTR GetAppPath(); }; #endif Index: AnyEdit.dsp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.dsp,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** AnyEdit.dsp 9 Jul 2003 07:17:55 -0000 1.17 --- AnyEdit.dsp 18 Jul 2003 19:05:36 -0000 1.18 *************** *** 392,395 **** --- 392,399 ---- # Begin Source File + SOURCE=.\Plugin.cpp + # End Source File + # Begin Source File + SOURCE=.\QuickJump.cpp # End Source File *************** *** 1056,1059 **** --- 1060,1067 ---- SOURCE=.\includes\PaletteCommandFrameWnd.h + # End Source File + # Begin Source File + + SOURCE=.\Plugin.h # End Source File # Begin Source File Index: AnyEdit.rc =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.rc,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** AnyEdit.rc 17 Jul 2003 11:32:15 -0000 1.22 --- AnyEdit.rc 18 Jul 2003 19:05:36 -0000 1.23 *************** *** 153,156 **** --- 153,160 ---- MENUITEM "&Customize...", ID_VIEW_CUSTOMIZE END + POPUP "Plugins" + BEGIN + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN1 + END POPUP "&Help" BEGIN *************** *** 461,464 **** --- 465,472 ---- MENUITEM "&Customize...", ID_VIEW_CUSTOMIZE END + POPUP "Plugins" + BEGIN + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN1 + END POPUP "&Window" BEGIN *************** *** 902,905 **** --- 910,917 ---- MENUITEM "&Customize...", ID_VIEW_CUSTOMIZE END + POPUP "Plugins" + BEGIN + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN1 + END POPUP "&Help" BEGIN *************** *** 910,913 **** --- 922,957 ---- MENUITEM SEPARATOR MENUITEM "&About AnyEdit...", ID_APP_ABOUT + END + END + + IDR_POPUP_PLUGINS MENU DISCARDABLE + BEGIN + POPUP "<PLUGINS>" + BEGIN + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN1 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN2 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN3 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN4 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN5 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN6 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN7 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN8 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN9 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN10 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN11 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN12 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN13 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN14 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN15 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN16 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN17 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN18 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN19 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN20 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN21 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN22 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN23 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN24 + MENUITEM "<plugin1>", ID_PLUGINS_PLUGIN25 END END Index: ChangeLog.txt =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ChangeLog.txt,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** ChangeLog.txt 17 Jul 2003 11:32:15 -0000 1.26 --- ChangeLog.txt 18 Jul 2003 19:05:36 -0000 1.27 *************** *** 29,32 **** --- 29,34 ---- 22) Bug replace whole word fixed.[#741234] 23) User tool can run with no window open [#750948] + 24) Added Initial Plugin support + 25) Added Diff Plugin Beta 1.0 Index: MainFrm.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/MainFrm.cpp,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** MainFrm.cpp 17 Jul 2003 11:32:15 -0000 1.23 --- MainFrm.cpp 18 Jul 2003 19:05:36 -0000 1.24 *************** *** 50,53 **** --- 50,54 ---- #include "Splash.h" #include "Parser.h" + #include "Plugin.h" #ifdef _DEBUG *************** *** 57,60 **** --- 58,62 ---- #endif + typedef int (*ENTRY_FUNCTION)(CPlugin *); IMPLEMENT_MSG(UPM_FINISHED) *************** *** 119,122 **** --- 121,125 ---- ON_UPDATE_COMMAND_UI_RANGE(ID_VIEW_USER_TOOLBAR1, ID_VIEW_USER_TOOLBAR1 + iMaxUserToolbars - 1, OnUpdateToolsViewUserToolbar) ON_COMMAND_EX_RANGE(ID_USER_TOOL1, ID_USER_TOOL10, OnSelectedUserTools) + ON_COMMAND_EX_RANGE(ID_PLUGINS_PLUGIN1, ID_PLUGINS_PLUGIN25, OnSelectedPlugin) ON_UPDATE_COMMAND_UI_RANGE(ID_USER_TOOL1, ID_USER_TOOL10, OnUpdateUserTools) ON_COMMAND_EX_RANGE(ID_CUR_TOOL1, ID_CUR_TOOL5, OnCurrentUserTools) *************** *** 412,415 **** --- 415,433 ---- } + if (pMenuPopup->GetMenuBar ()->CommandToIndex (ID_PLUGINS_PLUGIN1) >= 0) + { + pMenuPopup->RemoveAllItems (); + + CMenu menu; + VERIFY(menu.LoadMenu (IDR_POPUP_PLUGINS)); + + CMenu* pPopup = menu.GetSubMenu(0); + ASSERT(pPopup != NULL); + + LoadPluginMenus (*pPopup); + pMenuPopup->GetMenuBar ()->ImportFromMenu (*pPopup, TRUE); + } + + if (pMenuPopup->GetMenuBar ()->CommandToIndex (ID_FILE_RECENTWORKSPACES_WS1) >= 0) { *************** *** 518,521 **** --- 536,563 ---- } + void CMainFrame::LoadPluginMenus(CMenu &popUp) + { + CString app_path = theApp.GetAppPath(); + CStringArray plugins; + app_path+= _T("Plugins"); + msc.GetFilesInFolder(app_path,"*.dll",plugins); + + int y=plugins.GetSize(); + int pluginPos = 0; + int ccnt = ID_PLUGINS_PLUGIN1; + for(int i=0;i<y;i++) + { + popUp.ModifyMenu(ccnt,MF_STRING,ccnt,plugins.GetAt(i).Left(plugins.GetAt(i).GetLength()-4)); + ccnt++; + pluginPos++; + } + + for(int xy=pluginPos;xy<26;xy++) + { + popUp.DeleteMenu(pluginPos,MF_BYPOSITION); + } + + } + void CMainFrame::LoadToolMenus(CMenu &popUp) { *************** *** 1102,1105 **** --- 1144,1169 ---- { pCmdUI->Enable(m_wndWorkSpace.IsWorkspaceLoaded()); + } + + void CMainFrame::OnSelectedPlugin(UINT id) + { + CString app_path = theApp.GetAppPath(); + CStringArray plugins; + app_path+= _T("Plugins"); + msc.GetFilesInFolder(app_path,"*.dll",plugins); + int position = ID_PLUGINS_PLUGIN1 - id; + app_path+="\\"; + app_path+= plugins.GetAt(-position); + ENTRY_FUNCTION PluginFunction = NULL; + HINSTANCE hinst = LoadLibrary(app_path); + if(hinst) + { + PluginFunction = (ENTRY_FUNCTION)GetProcAddress(hinst,"EntryFunction"); + CPlugin plugin; + if(PluginFunction) + PluginFunction(&plugin); + FreeLibrary(hinst); + } + } Index: MainFrm.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/MainFrm.h,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** MainFrm.h 17 Jul 2003 11:32:15 -0000 1.17 --- MainFrm.h 18 Jul 2003 19:05:36 -0000 1.18 *************** *** 31,39 **** protected: ! void LoadSettingsFromRegistry ! (); ! void SaveSettingsToRegistry ! (); void LoadToolMenus(CMenu &popUp); void LoadRecentMenus(CMenu &popUp); void LoadCurrentToolMenu(CMenu &popUp,LPCSTR curLang); --- 31,38 ---- protected: ! void LoadSettingsFromRegistry(); ! void SaveSettingsToRegistry(); void LoadToolMenus(CMenu &popUp); + void LoadPluginMenus(CMenu &popUp); void LoadRecentMenus(CMenu &popUp); void LoadCurrentToolMenu(CMenu &popUp,LPCSTR curLang); *************** *** 160,163 **** --- 159,163 ---- afx_msg void OnUpdateToolsViewUserToolbar (CCmdUI* pCmdUI); afx_msg void OnUpdateUserTools (CCmdUI* pCmdUI); + afx_msg void OnSelectedPlugin(UINT id); afx_msg void OnSelectedUserTools(UINT id); afx_msg void OnCurrentUserTools(UINT id); Index: resource.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/resource.h,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** resource.h 9 Jul 2003 07:17:55 -0000 1.14 --- resource.h 18 Jul 2003 19:05:36 -0000 1.15 *************** *** 101,104 **** --- 101,105 ---- #define IDD_DIALOG1 247 #define IDC_CURSOR1 249 + #define IDR_POPUP_PLUGINS 249 #define IDI_ICON1 250 #define IDD_DIALOG2 251 *************** *** 422,425 **** --- 423,451 ---- #define ID_CONFIGURE_CURRENTDOCUMENT_BOOKMARKMARGIN 33041 #define ID_CONFIGURE_CURRENTDOCUMENT_FOLDMARGIN 33044 + #define ID_PLUGINS_PLUGIN1 33045 + #define ID_PLUGINS_PLUGIN2 33046 + #define ID_PLUGINS_PLUGIN3 33047 + #define ID_PLUGINS_PLUGIN4 33048 + #define ID_PLUGINS_PLUGIN5 33049 + #define ID_PLUGINS_PLUGIN6 33050 + #define ID_PLUGINS_PLUGIN7 33051 + #define ID_PLUGINS_PLUGIN8 33052 + #define ID_PLUGINS_PLUGIN9 33053 + #define ID_PLUGINS_PLUGIN10 33054 + #define ID_PLUGINS_PLUGIN11 33055 + #define ID_PLUGINS_PLUGIN12 33056 + #define ID_PLUGINS_PLUGIN13 33057 + #define ID_PLUGINS_PLUGIN14 33058 + #define ID_PLUGINS_PLUGIN15 33059 + #define ID_PLUGINS_PLUGIN16 33060 + #define ID_PLUGINS_PLUGIN17 33061 + #define ID_PLUGINS_PLUGIN18 33062 + #define ID_PLUGINS_PLUGIN19 33063 + #define ID_PLUGINS_PLUGIN20 33064 + #define ID_PLUGINS_PLUGIN21 33065 + #define ID_PLUGINS_PLUGIN22 33066 + #define ID_PLUGINS_PLUGIN23 33067 + #define ID_PLUGINS_PLUGIN24 33068 + #define ID_PLUGINS_PLUGIN25 33069 #define ID_OUTPUT_CLEAR 57632 #define ID_OUTPUT_COPY 57634 *************** *** 436,441 **** #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_3D_CONTROLS 1 ! #define _APS_NEXT_RESOURCE_VALUE 249 ! #define _APS_NEXT_COMMAND_VALUE 33045 #define _APS_NEXT_CONTROL_VALUE 1088 #define _APS_NEXT_SYMED_VALUE 105 --- 462,467 ---- #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_3D_CONTROLS 1 ! #define _APS_NEXT_RESOURCE_VALUE 250 ! #define _APS_NEXT_COMMAND_VALUE 33070 #define _APS_NEXT_CONTROL_VALUE 1088 #define _APS_NEXT_SYMED_VALUE 105 |
From: <td...@us...> - 2003-07-18 18:58:29
|
Update of /cvsroot/anyedit/AnyEditv2/Plugins/Diff/res In directory sc8-pr-cvs1:/tmp/cvs-serv1875/res Log Message: Directory /cvsroot/anyedit/AnyEditv2/Plugins/Diff/res added to the repository |
From: <td...@us...> - 2003-07-18 18:56:31
|
Update of /cvsroot/anyedit/AnyEditv2/Plugins/Diff In directory sc8-pr-cvs1:/tmp/cvs-serv1680/Diff Log Message: Directory /cvsroot/anyedit/AnyEditv2/Plugins/Diff added to the repository |
From: <td...@us...> - 2003-07-18 18:56:23
|
Update of /cvsroot/anyedit/AnyEditv2/Plugins In directory sc8-pr-cvs1:/tmp/cvs-serv1630/Plugins Log Message: Directory /cvsroot/anyedit/AnyEditv2/Plugins added to the repository |
From: <td...@us...> - 2003-07-18 04:18:18
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1:/tmp/cvs-serv28250 Modified Files: ToDo.txt Log Message: change in todo Index: ToDo.txt =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ToDo.txt,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** ToDo.txt 17 Jul 2003 11:32:16 -0000 1.16 --- ToDo.txt 18 Jul 2003 04:18:13 -0000 1.17 *************** *** 12,16 **** ======================= 1) Rewrite entire workspace handling with support for project compilation and build ! NV 2) A Very good plugin architecture... possibly with events and configurable menu items 3) Error handling facilities.. Marking errors, warnings and taking to a line on clicking error --- 12,16 ---- ======================= 1) Rewrite entire workspace handling with support for project compilation and build ! 2) A Very good plugin architecture... possibly with events and configurable menu items 3) Error handling facilities.. Marking errors, warnings and taking to a line on clicking error |
From: <td...@us...> - 2003-07-17 11:32:23
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1:/tmp/cvs-serv18623 Modified Files: AnyEdit.cpp AnyEdit.rc AnyEditView.cpp ChangeLog.txt FindReplace.cpp LangPref.cpp MainFrm.cpp MainFrm.h OutputBar.cpp SciLexer.h Scintilla.h ScintillaDefaults.cpp ToDo.txt scintillaif.cpp scintillaif.h version.h Log Message: Find & replace allows null replacement [#745169] Tabs to spaces works correctly [#722975] Bug replace whole word fixed.[#741234] User tool can run with no window open [#750948] Index: AnyEdit.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.cpp,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** AnyEdit.cpp 8 May 2003 12:00:56 -0000 1.26 --- AnyEdit.cpp 17 Jul 2003 11:32:15 -0000 1.27 *************** *** 276,280 **** //{{AFX_MSG(CAboutDlg) virtual BOOL OnInitDialog(); ! //}}AFX_MSG DECLARE_MESSAGE_MAP() }; --- 276,280 ---- //{{AFX_MSG(CAboutDlg) virtual BOOL OnInitDialog(); ! //}}AFX_MSG DECLARE_MESSAGE_MAP() }; *************** *** 303,307 **** BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) //{{AFX_MSG_MAP(CAboutDlg) ! //}}AFX_MSG_MAP END_MESSAGE_MAP() --- 303,307 ---- BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) //{{AFX_MSG_MAP(CAboutDlg) ! //}}AFX_MSG_MAP END_MESSAGE_MAP() *************** *** 481,484 **** --- 481,485 ---- sCredits += "Nirmal & Murali|"; sCredits += "C.Sundhar (u r a gr8 friend !)|"; + sCredits += "Sourceforge.Net|"; sCredits += "My friends of Quantum|||||"; Index: AnyEdit.rc =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.rc,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** AnyEdit.rc 11 Jul 2003 05:43:28 -0000 1.21 --- AnyEdit.rc 17 Jul 2003 11:32:15 -0000 1.22 *************** *** 1850,1860 **** VALUE "FileVersion", "2.0\0" VALUE "InternalName", "AnyEdit\0" ! VALUE "LegalCopyright", "Copyright (C) 2001 - M.Deepak\0" VALUE "LegalTrademarks", "DeepSoft Inc\0" VALUE "OriginalFilename", "AnyEdit.EXE\0" ! VALUE "PrivateBuild", "332\0" VALUE "ProductName", "AnyEdit Programmers Editor\0" VALUE "ProductVersion", "v2.0 Professional\0" ! VALUE "SpecialBuild", "Alpha 7.0\0" END END --- 1850,1860 ---- VALUE "FileVersion", "2.0\0" VALUE "InternalName", "AnyEdit\0" ! VALUE "LegalCopyright", "Copyright (C) 2001 - 2003 - M.Deepak\0" VALUE "LegalTrademarks", "DeepSoft Inc\0" VALUE "OriginalFilename", "AnyEdit.EXE\0" ! VALUE "PrivateBuild", "398\0" VALUE "ProductName", "AnyEdit Programmers Editor\0" VALUE "ProductVersion", "v2.0 Professional\0" ! VALUE "SpecialBuild", "Beta 2.0\0" END END Index: AnyEditView.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEditView.cpp,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** AnyEditView.cpp 11 Jul 2003 05:43:28 -0000 1.29 --- AnyEditView.cpp 17 Jul 2003 11:32:15 -0000 1.30 *************** *** 295,299 **** m_Scintilla.SetIndentationGuides(TRUE); - m_Scintilla.SetUseTabs(TRUE); //m_Scintilla.SetBufferedDraw(FALSE); m_Scintilla.IndicSetStyle(0,INDIC_SQUIGGLE); --- 295,298 ---- *************** *** 304,308 **** m_Scintilla.DefineMarker(BOOKMARK,BOOKMARK,RGB(0,0,255),RGB(231,231,255)); m_Scintilla.DefineMarker(SELLINE,SELLINE,RGB(107,27,18),RGB(251,252,226)); ! m_Scintilla.DefineMarker(BOOKMARK1,SC_MARK_CHARACTER+49,RGB(255,255,255),RGB(74,87,149)); } --- 303,307 ---- m_Scintilla.DefineMarker(BOOKMARK,BOOKMARK,RGB(0,0,255),RGB(231,231,255)); m_Scintilla.DefineMarker(SELLINE,SELLINE,RGB(107,27,18),RGB(251,252,226)); ! //m_Scintilla.DefineMarker(BOOKMARK1,SC_MARK_CHARACTER+49,RGB(255,255,255),RGB(74,87,149)); } *************** *** 344,348 **** case SCN_CHARADDED: ! if(m_Scintilla.autoindent) if(scn->ch == '\r') AutoIndent(scn->ch); --- 343,347 ---- case SCN_CHARADDED: ! if(m_Scintilla.autoindent) if(scn->ch == '\r') AutoIndent(scn->ch); *************** *** 1986,1987 **** --- 1985,1987 ---- else pCmdUI->SetCheck(1); } + Index: ChangeLog.txt =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ChangeLog.txt,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** ChangeLog.txt 9 Jul 2003 07:17:55 -0000 1.25 --- ChangeLog.txt 17 Jul 2003 11:32:15 -0000 1.26 *************** *** 4,8 **** Beta 2.0 -------- ! 1) Fixed setting focus problem on ctrl+tab 2) Word wrap is now saved between sessions and applies to all files Word wrap option added on to preferences -> Editor Options --- 4,8 ---- Beta 2.0 -------- ! 1) Fixed setting focus problem on ctrl+tab [#765240] 2) Word wrap is now saved between sessions and applies to all files Word wrap option added on to preferences -> Editor Options *************** *** 20,28 **** 13) Fixed input entry length restriction bug. 14) Fixed accelerators for Bookmarking and changed behaviour ! 15) Fixed input entry length restriction bug. 16) AnyEdit now works properly for all users. Even if the admin setsup the program. 17) AnyEdit saves file only if it has to... 18) Added MiniToolbar feature. ! Beta 1.0 --- 20,32 ---- 13) Fixed input entry length restriction bug. 14) Fixed accelerators for Bookmarking and changed behaviour ! 15) Fixed input entry length restriction bug. [#745642] 16) AnyEdit now works properly for all users. Even if the admin setsup the program. 17) AnyEdit saves file only if it has to... 18) Added MiniToolbar feature. ! 19) Fixed bug which caused wrong Autocomplete file to be displayed in Language preferences [#769366] ! 20) Find & replace allows null replacement [#745169] ! 21) Tabs to spaces works correctly [#722975] ! 22) Bug replace whole word fixed.[#741234] ! 23) User tool can run with no window open [#750948] Beta 1.0 Index: FindReplace.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/FindReplace.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** FindReplace.cpp 8 May 2003 12:00:56 -0000 1.3 --- FindReplace.cpp 17 Jul 2003 11:32:15 -0000 1.4 *************** *** 110,118 **** CString str; m_replacecombo.GetWindowText(str); ! if(str.IsEmpty()) ! { ! AfxMessageBox("Enter replace string!"); ! return; ! } if(m_scintilla->GetSelectionStart()==m_scintilla->GetSelectionEnd()) { --- 110,114 ---- CString str; m_replacecombo.GetWindowText(str); ! if(m_scintilla->GetSelectionStart()==m_scintilla->GetSelectionEnd()) { *************** *** 137,145 **** CString str; m_replacecombo.GetWindowText(str); - if(str.IsEmpty()) - { - AfxMessageBox("Enter replace string!"); - return; - } int replen = strText.GetLength(); --- 133,136 ---- *************** *** 182,186 **** int tint = endpos - stpos; newpos+= tint -str.GetLength(); ! m_scintilla->SetTargetEnd(newpos); posfind = m_scintilla->SearchInTarget(replen,strText); } --- 173,178 ---- int tint = endpos - stpos; newpos+= tint -str.GetLength(); ! m_scintilla->SetTargetEnd(m_scintilla->GetLength()); ! m_scintilla->SetTargetStart(stpos+str.GetLength()); posfind = m_scintilla->SearchInTarget(replen,strText); } Index: LangPref.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/LangPref.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** LangPref.cpp 8 May 2003 12:00:56 -0000 1.3 --- LangPref.cpp 17 Jul 2003 11:32:15 -0000 1.4 *************** *** 102,111 **** m_pParent->m_syntaxfile.SelectString(0,m_pParent->m_reg.GetProfileString(regRootVal,"SyntaxFile", descr,_T(""))); ! if(m_pParent->m_reg.GetProfileString(regRootVal,"ACPFile", descr,_T(""))==_T("")) { ! m_pParent->m_autocompfile.SelectString(-1,_T(" ")); } else ! m_pParent->m_autocompfile.SelectString(0,m_pParent->m_reg.GetProfileString(regRootVal,"ACPFile", descr,_T(""))); } --- 102,112 ---- m_pParent->m_syntaxfile.SelectString(0,m_pParent->m_reg.GetProfileString(regRootVal,"SyntaxFile", descr,_T(""))); ! CString selacmpfile = m_pParent->m_reg.GetProfileString(regRootVal,"ACPFile", descr,_T("")); ! if(selacmpfile.IsEmpty()) { ! m_pParent->m_autocompfile.SetCurSel(-1); //.SelectString(0,_T(" ")); } else ! m_pParent->m_autocompfile.SelectString(0,selacmpfile); } *************** *** 227,231 **** msc.GetFilesInFolder(langDir,_T("*.acmp"),synArr); ! m_autocompfile.AddString(" "); for(y=0;y<synArr.GetSize();y++) { --- 228,232 ---- msc.GetFilesInFolder(langDir,_T("*.acmp"),synArr); ! //m_autocompfile.AddString(" "); for(y=0;y<synArr.GetSize();y++) { Index: MainFrm.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/MainFrm.cpp,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** MainFrm.cpp 6 Jul 2003 18:49:47 -0000 1.22 --- MainFrm.cpp 17 Jul 2003 11:32:15 -0000 1.23 *************** *** 106,112 **** ON_COMMAND(ID_VIEW_FULLSCREEN, OnViewFullscreen) ON_COMMAND(ID_SEARCH_QUICKJUMP, OnSearchQuickjump) - ON_MESSAGE(AEM_OPENFILE, OnOpenFileMsg) ON_WM_SETFOCUS() ! //}}AFX_MSG_MAP ON_REGISTERED_MESSAGE(UPM_LINE, OnLine) ON_REGISTERED_MESSAGE(UPM_FINISHED, OnFinished) --- 106,112 ---- ON_COMMAND(ID_VIEW_FULLSCREEN, OnViewFullscreen) ON_COMMAND(ID_SEARCH_QUICKJUMP, OnSearchQuickjump) ON_WM_SETFOCUS() ! ON_MESSAGE(AEM_OPENFILE, OnOpenFileMsg) ! //}}AFX_MSG_MAP ON_REGISTERED_MESSAGE(UPM_LINE, OnLine) ON_REGISTERED_MESSAGE(UPM_FINISHED, OnFinished) *************** *** 1528,1529 **** --- 1528,1530 ---- CMDIFrameWnd::OnSetFocus(pOldWnd); } + Index: MainFrm.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/MainFrm.h,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** MainFrm.h 2 Jul 2003 12:20:32 -0000 1.16 --- MainFrm.h 17 Jul 2003 11:32:15 -0000 1.17 *************** *** 151,155 **** afx_msg void OnSearchQuickjump(); afx_msg void OnSetFocus(CWnd* pOldWnd); ! //}}AFX_MSG void OnNewTemplate (UINT id); afx_msg void OnViewCustomize(); --- 151,155 ---- afx_msg void OnSearchQuickjump(); afx_msg void OnSetFocus(CWnd* pOldWnd); ! //}}AFX_MSG void OnNewTemplate (UINT id); afx_msg void OnViewCustomize(); Index: OutputBar.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/OutputBar.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** OutputBar.cpp 8 May 2003 12:00:56 -0000 1.8 --- OutputBar.cpp 17 Jul 2003 11:32:15 -0000 1.9 *************** *** 174,178 **** m_wndOutputBuild.AddString(_T("")); m_wndOutputBuild.AddString (_T("Thank U for downloading the beta version of AnyEdit")); ! m_wndOutputBuild.AddString (_T("If you notice any bugs please submit a bug report in the forums at www.anyedit.org")); } --- 174,180 ---- m_wndOutputBuild.AddString(_T("")); m_wndOutputBuild.AddString (_T("Thank U for downloading the beta version of AnyEdit")); ! m_wndOutputBuild.AddString (_T("If you notice any bugs please submit a bug report choosing the link in Help")); ! m_wndOutputBuild.AddString (_T("List of changes is available in ChangeLog.txt and things yet to be done and bugs yet to be fixed are present in Todo.txt")); ! m_wndOutputBuild.AddString (_T("AnyEdit source code is available in the sourceforge cvs server. Look at http://sourceforge.net/projects/anyedit for more details")); } Index: SciLexer.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/SciLexer.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SciLexer.h 30 Jan 2003 02:48:04 -0000 1.2 --- SciLexer.h 17 Jul 2003 11:32:15 -0000 1.3 *************** *** 54,57 **** --- 54,60 ---- #define SCLEX_F77 37 #define SCLEX_CSS 38 + #define SCLEX_POV 39 + #define SCLEX_LOUT 40 + #define SCLEX_ESCRIPT 41 #define SCLEX_AUTOMATIC 1000 #define SCE_P_DEFAULT 0 *************** *** 88,91 **** --- 91,95 ---- #define SCE_C_COMMENTDOCKEYWORD 17 #define SCE_C_COMMENTDOCKEYWORDERROR 18 + #define SCE_C_GLOBALCLASS 19 #define SCE_H_DEFAULT 0 #define SCE_H_TAG 1 *************** *** 280,283 **** --- 284,289 ---- #define SCE_ERR_DIFF_MESSAGE 13 #define SCE_ERR_PHP 14 + #define SCE_ERR_ELF 15 + #define SCE_ERR_IFC 16 #define SCE_BAT_DEFAULT 0 #define SCE_BAT_COMMENT 1 *************** *** 445,448 **** --- 451,490 ---- #define SCE_CSS_IMPORTANT 11 #define SCE_CSS_DIRECTIVE 12 + #define SCE_CSS_DOUBLESTRING 13 + #define SCE_CSS_SINGLESTRING 14 + #define SCE_POV_DEFAULT 0 + #define SCE_POV_COMMENT 1 + #define SCE_POV_COMMENTLINE 2 + #define SCE_POV_COMMENTDOC 3 + #define SCE_POV_NUMBER 4 + #define SCE_POV_WORD 5 + #define SCE_POV_STRING 6 + #define SCE_POV_OPERATOR 7 + #define SCE_POV_IDENTIFIER 8 + #define SCE_POV_BRACE 9 + #define SCE_POV_WORD2 10 + #define SCE_LOUT_DEFAULT 0 + #define SCE_LOUT_COMMENT 1 + #define SCE_LOUT_NUMBER 2 + #define SCE_LOUT_WORD 3 + #define SCE_LOUT_WORD2 4 + #define SCE_LOUT_WORD3 5 + #define SCE_LOUT_WORD4 6 + #define SCE_LOUT_STRING 7 + #define SCE_LOUT_OPERATOR 8 + #define SCE_LOUT_IDENTIFIER 9 + #define SCE_LOUT_STRINGEOL 10 + #define SCE_ESCRIPT_DEFAULT 0 + #define SCE_ESCRIPT_COMMENT 1 + #define SCE_ESCRIPT_COMMENTLINE 2 + #define SCE_ESCRIPT_COMMENTDOC 3 + #define SCE_ESCRIPT_NUMBER 4 + #define SCE_ESCRIPT_WORD 5 + #define SCE_ESCRIPT_STRING 6 + #define SCE_ESCRIPT_OPERATOR 7 + #define SCE_ESCRIPT_IDENTIFIER 8 + #define SCE_ESCRIPT_BRACE 9 + #define SCE_ESCRIPT_WORD2 10 + #define SCE_ESCRIPT_WORD3 11 //--Autogenerated -- end of section automatically generated from Scintilla.iface Index: Scintilla.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/Scintilla.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Scintilla.h 8 May 2003 12:00:56 -0000 1.5 --- Scintilla.h 17 Jul 2003 11:32:15 -0000 1.6 *************** *** 14,19 **** #if PLAT_WIN // Return false on failure: ! BOOL Scintilla_RegisterClasses(void *hInstance); ! BOOL Scintilla_ReleaseResources(); #endif int Scintilla_LinkLexers(); --- 14,19 ---- #if PLAT_WIN // Return false on failure: ! bool Scintilla_RegisterClasses(void *hInstance); ! bool Scintilla_ReleaseResources(); #endif int Scintilla_LinkLexers(); *************** *** 185,188 **** --- 185,189 ---- #define SCI_STYLESETCASE 2060 #define SCI_STYLESETCHARACTERSET 2066 + #define SCI_STYLESETHOTSPOT 2409 #define SCI_SETSELFORE 2067 #define SCI_SETSELBACK 2068 *************** *** 286,289 **** --- 287,291 ---- #define SCFIND_WORDSTART 0x00100000 #define SCFIND_REGEXP 0x00200000 + #define SCFIND_POSIX 0x00400000 #define SCI_FINDTEXT 2150 #define SCI_FORMATRANGE 2151 *************** *** 341,344 **** --- 343,348 ---- #define SCI_CALLTIPSETHLT 2204 #define SCI_CALLTIPSETBACK 2205 + #define SCI_CALLTIPSETFORE 2206 + #define SCI_CALLTIPSETFOREHLT 2207 #define SCI_VISIBLEFROMDOCLINE 2220 #define SCI_DOCLINEFROMVISIBLE 2221 *************** *** 455,458 **** --- 459,469 ---- #define SCI_LINEENDDISPLAY 2347 #define SCI_LINEENDDISPLAYEXTEND 2348 + #define SCI_HOMEWRAP 2349 + #define SCI_HOMEWRAPEXTEND 2450 + #define SCI_LINEENDWRAP 2451 + #define SCI_LINEENDWRAPEXTEND 2452 + #define SCI_VCHOMEWRAP 2453 + #define SCI_VCHOMEWRAPEXTEND 2454 + #define SCI_LINECOPY 2455 #define SCI_MOVECARETINSIDEVIEW 2401 #define SCI_LINELENGTH 2350 *************** *** 519,522 **** --- 530,544 ---- #define SCI_SETPRINTWRAPMODE 2406 #define SCI_GETPRINTWRAPMODE 2407 + #define SCI_SETHOTSPOTACTIVEFORE 2410 + #define SCI_SETHOTSPOTACTIVEBACK 2411 + #define SCI_SETHOTSPOTACTIVEUNDERLINE 2412 + #define SCI_PARADOWN 2413 + #define SCI_PARADOWNEXTEND 2414 + #define SCI_PARAUP 2415 + #define SCI_PARAUPEXTEND 2416 + #define SCI_POSITIONBEFORE 2417 + #define SCI_POSITIONAFTER 2418 + #define SCI_COPYRANGE 2419 + #define SCI_COPYTEXT 2420 #define SCI_STARTRECORD 3001 #define SCI_STOPRECORD 3002 *************** *** 527,530 **** --- 549,553 ---- #define SCI_SETKEYWORDS 4005 #define SCI_SETLEXERLANGUAGE 4006 + #define SCI_LOADLEXERLIBRARY 4007 #define SC_MOD_INSERTTEXT 0x1 #define SC_MOD_DELETETEXT 0x2 *************** *** 580,583 **** --- 603,609 ---- #define SCN_DWELLEND 2017 #define SCN_ZOOM 2018 + #define SCN_HOTSPOTCLICK 2019 + #define SCN_HOTSPOTDOUBLECLICK 2020 + #define SCN_CALLTIPCLICK 2021 //--Autogenerated -- end of section automatically generated from Scintilla.iface *************** *** 586,606 **** // So older code that treats Scintilla as a RichEdit will work. ! struct CharacterRange ! { ! long cpMin; ! long cpMax; }; ! struct TextRange ! { ! struct CharacterRange chrg; ! char *lpstrText; }; ! struct TextToFind ! { ! struct CharacterRange chrg; ! char *lpstrText; ! struct CharacterRange chrgText; }; --- 612,629 ---- // So older code that treats Scintilla as a RichEdit will work. ! struct CharacterRange { ! long cpMin; ! long cpMax; }; ! struct TextRange { ! struct CharacterRange chrg; ! char *lpstrText; }; ! struct TextToFind { ! struct CharacterRange chrg; ! char *lpstrText; ! struct CharacterRange chrgText; }; *************** *** 610,656 **** // from Platform.h. Not needed by most client code. ! struct RangeToFormat ! { ! SurfaceID hdc; ! SurfaceID hdcTarget; ! PRectangle rc; ! PRectangle rcPage; ! CharacterRange chrg; }; #endif ! struct NotifyHeader ! { ! // hwndFrom is really an environment specifc window handle or pointer ! // but most clients of Scintilla.h do not have this type visible. ! //WindowID hwndFrom; ! void *hwndFrom; ! unsigned int idFrom; ! unsigned int code; }; ! struct SCNotification ! { ! struct NotifyHeader nmhdr; ! int position; // SCN_STYLENEEDED, SCN_MODIFIED, SCN_DWELLSTART, SCN_DWELLEND ! int ch; // SCN_CHARADDED, SCN_KEY ! int modifiers; // SCN_KEY ! int modificationType; // SCN_MODIFIED ! const char *text; // SCN_MODIFIED ! int length; // SCN_MODIFIED ! int linesAdded; // SCN_MODIFIED ! int message; // SCN_MACRORECORD ! uptr_t wParam; // SCN_MACRORECORD ! sptr_t lParam; // SCN_MACRORECORD ! int line; // SCN_MODIFIED ! int foldLevelNow; // SCN_MODIFIED ! int foldLevelPrev; // SCN_MODIFIED ! int margin; // SCN_MARGINCLICK ! int listType; // SCN_USERLISTSELECTION ! int x; // SCN_DWELLSTART, SCN_DWELLEND ! int y; // SCN_DWELLSTART, SCN_DWELLEND ! } ! ; // Deprecation section listing all API features that are deprecated and will --- 633,675 ---- // from Platform.h. Not needed by most client code. ! struct RangeToFormat { ! SurfaceID hdc; ! SurfaceID hdcTarget; ! PRectangle rc; ! PRectangle rcPage; ! CharacterRange chrg; }; #endif ! struct NotifyHeader { ! // hwndFrom is really an environment specifc window handle or pointer ! // but most clients of Scintilla.h do not have this type visible. ! //WindowID hwndFrom; ! void *hwndFrom; ! unsigned int idFrom; ! unsigned int code; }; ! struct SCNotification { ! struct NotifyHeader nmhdr; ! int position; // SCN_STYLENEEDED, SCN_MODIFIED, SCN_DWELLSTART, SCN_DWELLEND ! int ch; // SCN_CHARADDED, SCN_KEY ! int modifiers; // SCN_KEY ! int modificationType; // SCN_MODIFIED ! const char *text; // SCN_MODIFIED ! int length; // SCN_MODIFIED ! int linesAdded; // SCN_MODIFIED ! int message; // SCN_MACRORECORD ! uptr_t wParam; // SCN_MACRORECORD ! sptr_t lParam; // SCN_MACRORECORD ! int line; // SCN_MODIFIED ! int foldLevelNow; // SCN_MODIFIED ! int foldLevelPrev; // SCN_MODIFIED ! int margin; // SCN_MARGINCLICK ! int listType; // SCN_USERLISTSELECTION ! int x; // SCN_DWELLSTART, SCN_DWELLEND ! int y; // SCN_DWELLSTART, SCN_DWELLEND ! }; // Deprecation section listing all API features that are deprecated and will Index: ScintillaDefaults.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ScintillaDefaults.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** ScintillaDefaults.cpp 6 Jul 2003 18:49:47 -0000 1.10 --- ScintillaDefaults.cpp 17 Jul 2003 11:32:15 -0000 1.11 *************** *** 82,86 **** m_reg.WriteProfileString(regstr,"Extension",extension); ! if(!acp) m_reg.WriteProfileString(regstr,"ACPFile",acp); --- 82,86 ---- m_reg.WriteProfileString(regstr,"Extension",extension); ! if(acp!=NULL) m_reg.WriteProfileString(regstr,"ACPFile",acp); *************** *** 110,114 **** m_Scintilla->SetTabWidth(tabwidth); ! m_Scintilla->SetUseTabs(usetabs); m_Scintilla->StyleSetFore(STYLE_LINENUMBER,fore_line_number); --- 110,114 ---- m_Scintilla->SetTabWidth(tabwidth); ! m_Scintilla->SetUseTabs(!usetabs); m_Scintilla->StyleSetFore(STYLE_LINENUMBER,fore_line_number); *************** *** 261,264 **** --- 261,265 ---- m_Scintilla->RegisterImage(5,(const char *)pubfunc); m_Scintilla->RegisterImage(6,(const char *)comfunc); + m_Scintilla->SetTypeSeperator('?'); } Index: ToDo.txt =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ToDo.txt,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** ToDo.txt 11 Jul 2003 05:43:28 -0000 1.15 --- ToDo.txt 17 Jul 2003 11:32:16 -0000 1.16 *************** *** 143,149 **** - Auto indentation doesn't work - - Tabs to spaces does not work ? - - - Long file names are displayed is their unreadable short form (e.g., "Document and Settings" -> "DOCUM~1" in title bar, recent files and Window menu --- 143,146 ---- *************** *** 204,224 **** 10 - After being editing for some time, just opening a menu from main menu causes AnyEdit to crash. It also crashes at exit from time to time... - - - Tabs to spaces doesn't work - I've selected the option Convert tabs to spaces - in the prefrences. But when I take a new document - enable view whitespaces and start typing tabs, - the document is filled with arrows, no dots. So - the tabs aren't converted to spaces. - - - Preprocessor color not working properly for "c" files... - - -preferences show wrong acmp file name - selecting general -> language settings shows the - listbox of file types. Just mark a language with an - acmp file like 'Cpp'. - - If You change Your selection to a file type that has no - acmp file (like XML), then You will still see the acmp - entry 'cpp.acmp'. This is irritating. It is better to - show the empty entry of the acmp listbox. --- 201,202 ---- Index: scintillaif.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/scintillaif.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** scintillaif.cpp 8 May 2003 12:00:56 -0000 1.7 --- scintillaif.cpp 17 Jul 2003 11:32:16 -0000 1.8 *************** *** 2040,2043 **** --- 2040,2048 ---- } + void CScintilla::SetTypeSeperator(char sep) + { + SPerform(SCI_AUTOCSETTYPESEPARATOR,(long)sep); + } + void CScintilla::SetDirectFunction() { Index: scintillaif.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/scintillaif.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** scintillaif.h 8 May 2003 12:00:56 -0000 1.6 --- scintillaif.h 17 Jul 2003 11:32:16 -0000 1.7 *************** *** 1492,1495 **** --- 1492,1496 ---- void SetLexerLanguage(const char* language); int GetCaretInLine(); + void SetTypeSeperator(char seperator); CharacterRange GetSelection(); Index: version.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/version.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** version.h 19 Feb 2003 17:39:03 -0000 1.3 --- version.h 17 Jul 2003 11:32:16 -0000 1.4 *************** *** 1,4 **** #define main_version "Professional v 2.0" ! #define private_version "Beta 1.0" ! #define private_build "564" --- 1,4 ---- #define main_version "Professional v 2.0" ! #define private_version "Beta 2.0" ! #define private_build "823" |
From: <td...@us...> - 2003-07-11 05:43:31
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1:/tmp/cvs-serv20856 Modified Files: AnyEdit.rc AnyEditView.cpp ToDo.txt Log Message: Fixed mini toolbar disable color and enable color bug Index: AnyEdit.rc =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.rc,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** AnyEdit.rc 9 Jul 2003 07:17:55 -0000 1.20 --- AnyEdit.rc 11 Jul 2003 05:43:28 -0000 1.21 *************** *** 969,973 **** IDI_ADDICON6 ICON DISCARDABLE "res\\ico00004.ico" IDR_BROWSERTYPE ICON DISCARDABLE "res\\ico00005.ico" - IDI_ICON1 ICON DISCARDABLE "res\\ico00006.ico" ///////////////////////////////////////////////////////////////////////////// --- 969,972 ---- *************** *** 2162,2166 **** IDR_TREEFILECTRL_NO_DROPMOVE CURSOR DISCARDABLE "res\\cur00001.cur" IDR_TREEFILECTRL_NO_DROPCOPY CURSOR DISCARDABLE "res\\cursor2.cur" - IDC_CURSOR1 CURSOR DISCARDABLE "res\\cur00002.cur" ///////////////////////////////////////////////////////////////////////////// --- 2161,2164 ---- Index: AnyEditView.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEditView.cpp,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** AnyEditView.cpp 9 Jul 2003 07:17:55 -0000 1.28 --- AnyEditView.cpp 11 Jul 2003 05:43:28 -0000 1.29 *************** *** 1903,1906 **** --- 1903,1907 ---- { theApp.SetScintillaLanguage(DocExt,&m_Scintilla); + m_Scintilla.Colourise(0, -1); } } *************** *** 1910,1914 **** void CAnyEditView::OnUpdateConfigureCurrentdocumentSyntaxhighlighting(CCmdUI* pCmdUI) { - // TODO: Add your command update UI handler code here pCmdUI->SetCheck(isHighlightingOn); } --- 1911,1914 ---- Index: ToDo.txt =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ToDo.txt,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** ToDo.txt 6 Jul 2003 18:49:47 -0000 1.14 --- ToDo.txt 11 Jul 2003 05:43:28 -0000 1.15 *************** *** 211,212 **** --- 211,224 ---- the document is filled with arrows, no dots. So the tabs aren't converted to spaces. + + - Preprocessor color not working properly for "c" files... + + -preferences show wrong acmp file name + selecting general -> language settings shows the + listbox of file types. Just mark a language with an + acmp file like 'Cpp'. + + If You change Your selection to a file type that has no + acmp file (like XML), then You will still see the acmp + entry 'cpp.acmp'. This is irritating. It is better to + show the empty entry of the acmp listbox. |
From: <td...@us...> - 2003-07-09 07:17:58
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1:/tmp/cvs-serv12297 Modified Files: AnyEdit.dsp AnyEdit.rc AnyEditView.cpp AnyEditView.h ChangeLog.txt resource.h Log Message: Backup Index: AnyEdit.dsp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.dsp,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** AnyEdit.dsp 6 Jul 2003 18:49:47 -0000 1.16 --- AnyEdit.dsp 9 Jul 2003 07:17:55 -0000 1.17 *************** *** 1248,1251 **** --- 1248,1255 ---- # Begin Source File + SOURCE=.\res\cur00002.cur + # End Source File + # Begin Source File + SOURCE=.\res\cursor1.cur # End Source File *************** *** 1281,1284 **** --- 1285,1292 ---- SOURCE=.\res\ico00005.ico + # End Source File + # Begin Source File + + SOURCE=.\res\ico00006.ico # End Source File # Begin Source File Index: AnyEdit.rc =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.rc,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** AnyEdit.rc 6 Jul 2003 18:49:47 -0000 1.19 --- AnyEdit.rc 9 Jul 2003 07:17:55 -0000 1.20 *************** *** 969,972 **** --- 969,973 ---- IDI_ADDICON6 ICON DISCARDABLE "res\\ico00004.ico" IDR_BROWSERTYPE ICON DISCARDABLE "res\\ico00005.ico" + IDI_ICON1 ICON DISCARDABLE "res\\ico00006.ico" ///////////////////////////////////////////////////////////////////////////// *************** *** 1200,1203 **** --- 1201,1210 ---- "J", ID_SEARCH_QUICKJUMP, VIRTKEY, CONTROL, NOINVERT "V", ID_EDIT_PASTE, VIRTKEY, CONTROL, NOINVERT + VK_F2, ID_SEARCH_BOOKMARK_NEXTBOOKMARK, VIRTKEY, NOINVERT + VK_F2, ID_SEARCH_BM_TOGGLE, VIRTKEY, CONTROL, NOINVERT + VK_F2, ID_SEARCH_BOOKMARK_PREVIOUSBOOKMARK, VIRTKEY, SHIFT, + NOINVERT + VK_F2, ID_SEARCH_BOOKMARK_CLEARALLBOOKMARKS, VIRTKEY, SHIFT, + CONTROL, NOINVERT VK_F3, ID_SEARCH_FINDNEXT, VIRTKEY, NOINVERT VK_F3, ID_SEARCH_FINDNEXTWORD, VIRTKEY, CONTROL, NOINVERT *************** *** 1797,1800 **** --- 1804,1825 ---- END + IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 186, 95 + STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU + CAPTION "Dialog" + FONT 8, "MS Sans Serif" + BEGIN + DEFPUSHBUTTON "OK",IDOK,129,7,50,14 + PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14 + END + + IDD_DIALOG2 DIALOG DISCARDABLE 0, 0, 186, 95 + STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU + CAPTION "Dialog" + FONT 8, "MS Sans Serif" + BEGIN + DEFPUSHBUTTON "OK",IDOK,129,7,50,14 + PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14 + END + #ifndef _MAC *************** *** 2072,2075 **** --- 2097,2116 ---- BOTTOMMARGIN, 182 END + + IDD_DIALOG1, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 179 + TOPMARGIN, 7 + BOTTOMMARGIN, 88 + END + + IDD_DIALOG2, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 179 + TOPMARGIN, 7 + BOTTOMMARGIN, 88 + END END #endif // APSTUDIO_INVOKED *************** *** 2121,2124 **** --- 2162,2166 ---- IDR_TREEFILECTRL_NO_DROPMOVE CURSOR DISCARDABLE "res\\cur00001.cur" IDR_TREEFILECTRL_NO_DROPCOPY CURSOR DISCARDABLE "res\\cursor2.cur" + IDC_CURSOR1 CURSOR DISCARDABLE "res\\cur00002.cur" ///////////////////////////////////////////////////////////////////////////// Index: AnyEditView.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEditView.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** AnyEditView.cpp 6 Jul 2003 18:49:47 -0000 1.27 --- AnyEditView.cpp 9 Jul 2003 07:17:55 -0000 1.28 *************** *** 21,24 **** --- 21,25 ---- #define BOOKMARK SC_MARK_ARROW #define SELLINE SC_MARK_SHORTARROW + #define BOOKMARK1 2 ///////////////////////////////////////////////////////////////////////////// // CAnyEditView *************** *** 145,148 **** --- 146,150 ---- ParseTimeLimit = m_reg.GetProfileInt(_T("Preferences"),_T("ParserDelay"),1500); outoffocus = FALSE; + isHighlightingOn = TRUE; } *************** *** 302,306 **** m_Scintilla.DefineMarker(BOOKMARK,BOOKMARK,RGB(0,0,255),RGB(231,231,255)); m_Scintilla.DefineMarker(SELLINE,SELLINE,RGB(107,27,18),RGB(251,252,226)); ! } --- 304,308 ---- m_Scintilla.DefineMarker(BOOKMARK,BOOKMARK,RGB(0,0,255),RGB(231,231,255)); m_Scintilla.DefineMarker(SELLINE,SELLINE,RGB(107,27,18),RGB(251,252,226)); ! m_Scintilla.DefineMarker(BOOKMARK1,SC_MARK_CHARACTER+49,RGB(255,255,255),RGB(74,87,149)); } *************** *** 460,463 **** --- 462,471 ---- if(!(nextline < 0)) m_Scintilla.GotoLine(nextline); + else + { + nextline = m_Scintilla.MarkerNext(1,1 << BOOKMARK); + if(!(nextline < 0)) + m_Scintilla.GotoLine(nextline); + } } *************** *** 467,470 **** --- 475,484 ---- if(!(nextline < 0)) m_Scintilla.GotoLine(nextline); + else + { + nextline = m_Scintilla.MarkerNext(m_Scintilla.GetLineCount(),1 << BOOKMARK); + if(!(nextline < 0)) + m_Scintilla.GotoLine(nextline); + } } *************** *** 1874,1877 **** --- 1888,1908 ---- void CAnyEditView::OnConfigureCurrentdocumentSyntaxhighlighting() { + if(isHighlightingOn) + { + isHighlightingOn = FALSE; + m_Scintilla.SetLexer(0); + m_Scintilla.ClearDocumentStyle(); + m_Scintilla.Colourise(0, -1); + m_Scintilla.StyleClearAll(); + + } + else + { + isHighlightingOn = TRUE; + if(!DocExt.IsEmpty()) + { + theApp.SetScintillaLanguage(DocExt,&m_Scintilla); + } + } } *************** *** 1880,1884 **** { // TODO: Add your command update UI handler code here ! } --- 1911,1915 ---- { // TODO: Add your command update UI handler code here ! pCmdUI->SetCheck(isHighlightingOn); } Index: AnyEditView.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEditView.h,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** AnyEditView.h 6 Jul 2003 18:49:47 -0000 1.15 --- AnyEditView.h 9 Jul 2003 07:17:55 -0000 1.16 *************** *** 27,31 **** BOOL EnableParsing; int ParseTimeLimit; ! CString DocExt; CString CurDocPath; --- 27,31 ---- BOOL EnableParsing; int ParseTimeLimit; ! BOOL isHighlightingOn; CString DocExt; CString CurDocPath; Index: ChangeLog.txt =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ChangeLog.txt,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** ChangeLog.txt 6 Jul 2003 18:49:47 -0000 1.24 --- ChangeLog.txt 9 Jul 2003 07:17:55 -0000 1.25 *************** *** 18,26 **** 11) Changed all 'bool''s to BOOL which removes many performance warnings [Source change] 12) Output window automatically is shown when a tool is run with the output window hidden ! 13) Fixed input entry length restriction bug. ! 14) AnyEdit now works properly for all users. Even if the admin setsup the program. ! 15) AnyEdit saves file only if it has to... ! 16) Added MiniToolbar feature. ! Beta 1.0 --- 18,28 ---- 11) Changed all 'bool''s to BOOL which removes many performance warnings [Source change] 12) Output window automatically is shown when a tool is run with the output window hidden ! 13) Fixed input entry length restriction bug. ! 14) Fixed accelerators for Bookmarking and changed behaviour ! 15) Fixed input entry length restriction bug. ! 16) AnyEdit now works properly for all users. Even if the admin setsup the program. ! 17) AnyEdit saves file only if it has to... ! 18) Added MiniToolbar feature. ! Beta 1.0 Index: resource.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/resource.h,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** resource.h 6 Jul 2003 18:49:47 -0000 1.13 --- resource.h 9 Jul 2003 07:17:55 -0000 1.14 *************** *** 99,103 **** #define IDR_ERRPARSESPECIALS 245 #define IDD_QUICKJUMP 246 ! #define IDR_VIEW 247 #define IDD_WIN2K_FILEDIALOG 446 #define IDB_FILEOPEN 447 --- 99,107 ---- #define IDR_ERRPARSESPECIALS 245 #define IDD_QUICKJUMP 246 ! #define IDD_DIALOG1 247 ! #define IDC_CURSOR1 249 ! #define IDI_ICON1 250 ! #define IDD_DIALOG2 251 ! #define IDR_VIEW 252 #define IDD_WIN2K_FILEDIALOG 446 #define IDB_FILEOPEN 447 |
From: <td...@us...> - 2003-07-09 03:10:55
|
Update of /cvsroot/anyedit/AnyEditv2/res In directory sc8-pr-cvs1:/tmp/cvs-serv25467/res Added Files: bmp00021.bmp Log Message: adding it --- NEW FILE: bmp00021.bmp --- (This appears to be a binary file; contents omitted.) |
From: <td...@us...> - 2003-07-06 18:49:50
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1:/tmp/cvs-serv12636 Modified Files: AnyEdit.dsp AnyEdit.rc AnyEditDoc.cpp AnyEditView.cpp AnyEditView.h ChangeLog.txt GeneralPref.cpp GeneralPref.h MainFrm.cpp ScintillaDefaults.cpp ScintillaDefaults.h ToDo.txt resource.h Log Message: AnyEdit now works properly for all users. Even if the admin setsup the program. AnyEdit saves file only if it has to... Added MiniToolbar feature. Index: AnyEdit.dsp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.dsp,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** AnyEdit.dsp 2 Jul 2003 12:20:32 -0000 1.15 --- AnyEdit.dsp 6 Jul 2003 18:49:47 -0000 1.16 *************** *** 1240,1243 **** --- 1240,1247 ---- # Begin Source File + SOURCE=.\res\bmp00021.bmp + # End Source File + # Begin Source File + SOURCE=.\res\cur00001.cur # End Source File Index: AnyEdit.rc =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.rc,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** AnyEdit.rc 3 Jul 2003 12:58:39 -0000 1.18 --- AnyEdit.rc 6 Jul 2003 18:49:47 -0000 1.19 *************** *** 443,446 **** --- 443,461 ---- END + POPUP "Current Document" + BEGIN + MENUITEM "Word Wrap", ID_CONFIGURE_CURRENTDOCUMENT_WORDWRAP + + MENUITEM "View Endof Line", ID_CONFIGURE_CURRENTDOCUMENT_VIEWENDOFLINE + + MENUITEM "Syntax Highlighting", ID_CONFIGURE_CURRENTDOCUMENT_SYNTAXHIGHLIGHTING + + MENUITEM "Line Numbers", ID_CONFIGURE_CURRENTDOCUMENT_LINENUMBERS + + MENUITEM "BookMark Margin", ID_CONFIGURE_CURRENTDOCUMENT_BOOKMARKMARGIN + + MENUITEM "Fold Margin", ID_CONFIGURE_CURRENTDOCUMENT_FOLDMARGIN + + END MENUITEM SEPARATOR MENUITEM "&Customize...", ID_VIEW_CUSTOMIZE *************** *** 984,987 **** --- 999,1003 ---- IDB_CLASS_VIEW BITMAP DISCARDABLE "res\\bmp00019.bmp" IDR_FULLSCREEN BITMAP DISCARDABLE "res\\bmp00020.bmp" + IDR_VIEW BITMAP DISCARDABLE "res\\bmp00021.bmp" ///////////////////////////////////////////////////////////////////////////// *************** *** 1145,1148 **** --- 1161,1174 ---- END + IDR_VIEW TOOLBAR DISCARDABLE 12, 11 + BEGIN + BUTTON ID_CONFIGURE_CURRENTDOCUMENT_SYNTAXHIGHLIGHTING + BUTTON ID_CONFIGURE_CURRENTDOCUMENT_WORDWRAP + BUTTON ID_VIEW_TABSANDSPACES + BUTTON ID_CONFIGURE_CURRENTDOCUMENT_LINENUMBERS + BUTTON ID_CONFIGURE_CURRENTDOCUMENT_BOOKMARKMARGIN + BUTTON ID_CONFIGURE_CURRENTDOCUMENT_FOLDMARGIN + END + ///////////////////////////////////////////////////////////////////////////// *************** *** 1253,1256 **** --- 1279,1284 ---- CONTROL "Check File Modification",IDC_CHECK14,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,7,110,134,9 + CONTROL "Show Document Mini Toolbar",IDC_CHECK7,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,7,124,152,13 END *************** *** 1510,1514 **** STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Input" ! FONT 8, "MS Sans Serif" BEGIN DEFPUSHBUTTON "OK",IDOK,141,49,50,14 --- 1538,1542 ---- STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Input" ! FONT 8, "MS Sans Serif", 0, 0, 0x1 BEGIN DEFPUSHBUTTON "OK",IDOK,141,49,50,14 *************** *** 1578,1582 **** STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Clip Text Editor" ! FONT 8, "MS Sans Serif" BEGIN DEFPUSHBUTTON "OK",IDOK,185,212,50,14 --- 1606,1610 ---- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Clip Text Editor" ! FONT 8, "MS Sans Serif", 0, 0, 0x1 BEGIN DEFPUSHBUTTON "OK",IDOK,185,212,50,14 *************** *** 2529,2532 **** --- 2557,2565 ---- BEGIN ID_SEARCH_QUICKJUMP "Quick jump to function definitions" + ID_CONFIGURE_CURRENTDOCUMENT_WORDWRAP "Word wrap\nWord wrap" + ID_CONFIGURE_CURRENTDOCUMENT_VIEWENDOFLINE + "View Line Endings\nView end of line" + ID_CONFIGURE_CURRENTDOCUMENT_SYNTAXHIGHLIGHTING + "Enable document coloring\nToggle syntax highlighting" END Index: AnyEditDoc.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEditDoc.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** AnyEditDoc.cpp 8 May 2003 12:00:56 -0000 1.9 --- AnyEditDoc.cpp 6 Jul 2003 18:49:47 -0000 1.10 *************** *** 98,101 **** --- 98,102 ---- BOOL CAnyEditDoc::OnSaveDocument(LPCTSTR lpszPathName) { + if(!this->IsModified()) return TRUE; BOOL saved = m_pScintilla->SaveFile(lpszPathName); if(saved) Index: AnyEditView.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEditView.cpp,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** AnyEditView.cpp 8 May 2003 12:00:56 -0000 1.26 --- AnyEditView.cpp 6 Jul 2003 18:49:47 -0000 1.27 *************** *** 40,51 **** ON_COMMAND(ID_EDIT_PASTE, OnEditPaste) ON_UPDATE_COMMAND_UI(ID_EDIT_PASTE, OnUpdateEditPaste) ! ON_COMMAND(ID_EDIT_UNDO, OnEditUndo ! ) ! ON_UPDATE_COMMAND_UI(ID_EDIT_UNDO, OnUpdateEditUndo ! ) ! ON_COMMAND(ID_EDIT_REDO, OnEditRedo ! ) ! ON_UPDATE_COMMAND_UI(ID_EDIT_REDO, OnUpdateEditRedo ! ) ON_COMMAND(ID_EDIT_SELECTALL, OnEditSelectall) ON_COMMAND(ID_SEARCH_BM_TOGGLE, OnSearchBookmarksTogglebookmark) --- 40,47 ---- ON_COMMAND(ID_EDIT_PASTE, OnEditPaste) ON_UPDATE_COMMAND_UI(ID_EDIT_PASTE, OnUpdateEditPaste) ! ON_COMMAND(ID_EDIT_UNDO, OnEditUndo) ! ON_UPDATE_COMMAND_UI(ID_EDIT_UNDO, OnUpdateEditUndo) ! ON_COMMAND(ID_EDIT_REDO, OnEditRedo) ! ON_UPDATE_COMMAND_UI(ID_EDIT_REDO, OnUpdateEditRedo) ON_COMMAND(ID_EDIT_SELECTALL, OnEditSelectall) ON_COMMAND(ID_SEARCH_BM_TOGGLE, OnSearchBookmarksTogglebookmark) *************** *** 100,104 **** ON_COMMAND(ID_TOOLS_HIGHLIGHTCURRENTLINE, OnToolsHighlightcurrentline) ON_UPDATE_COMMAND_UI(ID_TOOLS_HIGHLIGHTCURRENTLINE, OnUpdateToolsHighlightcurrentline) ! //}}AFX_MSG_MAP ON_WM_CONTEXTMENU() // Standard printing commands --- 96,110 ---- ON_COMMAND(ID_TOOLS_HIGHLIGHTCURRENTLINE, OnToolsHighlightcurrentline) ON_UPDATE_COMMAND_UI(ID_TOOLS_HIGHLIGHTCURRENTLINE, OnUpdateToolsHighlightcurrentline) ! ON_COMMAND(ID_CONFIGURE_CURRENTDOCUMENT_WORDWRAP, OnConfigureCurrentdocumentWordwrap) ! ON_UPDATE_COMMAND_UI(ID_CONFIGURE_CURRENTDOCUMENT_WORDWRAP, OnUpdateConfigureCurrentdocumentWordwrap) ! ON_COMMAND(ID_CONFIGURE_CURRENTDOCUMENT_SYNTAXHIGHLIGHTING, OnConfigureCurrentdocumentSyntaxhighlighting) ! ON_UPDATE_COMMAND_UI(ID_CONFIGURE_CURRENTDOCUMENT_SYNTAXHIGHLIGHTING, OnUpdateConfigureCurrentdocumentSyntaxhighlighting) ! ON_COMMAND(ID_CONFIGURE_CURRENTDOCUMENT_LINENUMBERS, OnConfigureCurrentdocumentLinenumbers) ! ON_UPDATE_COMMAND_UI(ID_CONFIGURE_CURRENTDOCUMENT_LINENUMBERS, OnUpdateConfigureCurrentdocumentLinenumbers) ! ON_COMMAND(ID_CONFIGURE_CURRENTDOCUMENT_BOOKMARKMARGIN, OnConfigureCurrentdocumentBookmarkmargin) ! ON_UPDATE_COMMAND_UI(ID_CONFIGURE_CURRENTDOCUMENT_BOOKMARKMARGIN, OnUpdateConfigureCurrentdocumentBookmarkmargin) ! ON_COMMAND(ID_CONFIGURE_CURRENTDOCUMENT_FOLDMARGIN, OnConfigureCurrentdocumentFoldmargin) ! ON_UPDATE_COMMAND_UI(ID_CONFIGURE_CURRENTDOCUMENT_FOLDMARGIN, OnUpdateConfigureCurrentdocumentFoldmargin) ! //}}AFX_MSG_MAP ON_WM_CONTEXTMENU() // Standard printing commands *************** *** 238,241 **** --- 244,274 ---- pDoc->m_pScintilla=&m_Scintilla; + #ifndef DEBUG + + if(m_reg.GetProfileInt(_T("Preferences"),_T("MiniToolbar"),1)) + { + if (!m_wndTool.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_BOTTOM + | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) || + !m_wndTool.LoadToolBar(IDR_VIEW)) + { + TRACE0("Failed to create toolbar 1\n"); + return -1; // fail to create + } + + m_wndTool.EnableDocking(CBRS_ALIGN_ANY); + + + CFrameWnd *parent = this->GetParentFrame(); + + if(parent!=NULL) + { + parent->EnableDocking(CBRS_ALIGN_ANY); + parent->DockControlBar(&m_wndTool); + } + + m_wndTool.SetBarStyle(CBRS_ALIGN_BOTTOM|CBRS_TOOLTIPS|CBRS_BORDER_TOP|CBRS_BORDER_LEFT|CBRS_BORDER_BOTTOM|CBRS_FLYBY); + } + #endif + return 0; } *************** *** 375,383 **** } ! void CAnyEditView::OnEditUndo ! () { ! m_Scintilla.Undo ! (); } --- 408,414 ---- } ! void CAnyEditView::OnEditUndo() { ! m_Scintilla.Undo(); } *************** *** 390,405 **** } ! void CAnyEditView::OnEditRedo ! () { ! m_Scintilla.Redo ! (); } ! void CAnyEditView::OnUpdateEditRedo ! (CCmdUI* pCmdUI) { ! pCmdUI->Enable(m_Scintilla.CanRedo ! ()); } --- 421,432 ---- } ! void CAnyEditView::OnEditRedo() { ! m_Scintilla.Redo(); } ! void CAnyEditView::OnUpdateEditRedo(CCmdUI* pCmdUI) { ! pCmdUI->Enable(m_Scintilla.CanRedo()); } *************** *** 1833,1835 **** --- 1860,1956 ---- { pCmdUI->SetCheck(m_Scintilla.GetCaretLineVisible()); + } + + void CAnyEditView::OnConfigureCurrentdocumentWordwrap() + { + m_Scintilla.SetWrapMode(!m_Scintilla.GetWrapMode()); + } + + void CAnyEditView::OnUpdateConfigureCurrentdocumentWordwrap(CCmdUI* pCmdUI) + { + pCmdUI->SetCheck(m_Scintilla.GetWrapMode()); + } + + void CAnyEditView::OnConfigureCurrentdocumentSyntaxhighlighting() + { + + } + + void CAnyEditView::OnUpdateConfigureCurrentdocumentSyntaxhighlighting(CCmdUI* pCmdUI) + { + // TODO: Add your command update UI handler code here + + } + + void CAnyEditView::OnConfigureCurrentdocumentLinenumbers() + { + if(m_Scintilla.GetMarginWidthN(0)==0) + { + m_Scintilla.SetMarginWidthN(0,36); + m_Scintilla.SetMarginTypeN(0,SC_MARGIN_NUMBER); + } + else + { + m_Scintilla.SetMarginWidthN(0,0); + m_Scintilla.SetMarginTypeN(0,SC_MARGIN_NUMBER); + } + } + + void CAnyEditView::OnUpdateConfigureCurrentdocumentLinenumbers(CCmdUI* pCmdUI) + { + if(m_Scintilla.GetMarginWidthN(0)==0) + pCmdUI->SetCheck(0); + else pCmdUI->SetCheck(1); + } + + void CAnyEditView::OnConfigureCurrentdocumentBookmarkmargin() + { + if(m_Scintilla.GetMarginWidthN(1)==0) + { + m_Scintilla.SetMarginWidthN(1,16); // 0 to not show - should be 16 + m_Scintilla.SetMarginTypeN(1,SC_MARGIN_SYMBOL); + m_Scintilla.SetMarginMaskN(1,~SC_MASK_FOLDERS); + } + else + { + m_Scintilla.SetMarginWidthN(1,0); // 0 to not show - should be 16 + m_Scintilla.SetMarginTypeN(1,SC_MARGIN_SYMBOL); + m_Scintilla.SetMarginMaskN(1,~SC_MASK_FOLDERS); + + } + } + + void CAnyEditView::OnUpdateConfigureCurrentdocumentBookmarkmargin(CCmdUI* pCmdUI) + { + if(m_Scintilla.GetMarginWidthN(1)==0) + pCmdUI->SetCheck(0); + else pCmdUI->SetCheck(1); + } + + void CAnyEditView::OnConfigureCurrentdocumentFoldmargin() + { + + if(m_Scintilla.GetMarginWidthN(2)==0) + { + m_Scintilla.SetMarginTypeN(2,SC_MARGIN_SYMBOL); + m_Scintilla.SetMarginWidthN(2,14); + m_Scintilla.SetMarginMaskN(2,SC_MASK_FOLDERS); + m_Scintilla.SetMarginSensitiveN(2,TRUE); + m_Scintilla.SetFoldingMargins(efsVSNet); + } + else + { + m_Scintilla.SetMarginTypeN(2,SC_MARGIN_SYMBOL); + m_Scintilla.SetMarginWidthN(2,0); + m_Scintilla.SetMarginMaskN(2,SC_MASK_FOLDERS); + m_Scintilla.SetMarginSensitiveN(2,TRUE); + m_Scintilla.SetFoldingMargins(efsVSNet); + } + } + + void CAnyEditView::OnUpdateConfigureCurrentdocumentFoldmargin(CCmdUI* pCmdUI) + { + if(m_Scintilla.GetMarginWidthN(2)==0) + pCmdUI->SetCheck(0); + else pCmdUI->SetCheck(1); } Index: AnyEditView.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEditView.h,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** AnyEditView.h 8 May 2003 12:00:56 -0000 1.14 --- AnyEditView.h 6 Jul 2003 18:49:47 -0000 1.15 *************** *** 33,36 **** --- 33,38 ---- CTime last_access_time; + CToolBar m_wndTool; + // Attributes public: *************** *** 102,113 **** afx_msg void OnEditPaste(); afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI); ! afx_msg void OnEditUndo ! (); ! afx_msg void OnUpdateEditUndo ! (CCmdUI* pCmdUI); ! afx_msg void OnEditRedo ! (); ! afx_msg void OnUpdateEditRedo ! (CCmdUI* pCmdUI); afx_msg void OnEditSelectall(); afx_msg void OnSearchBookmarksTogglebookmark(); --- 104,111 ---- afx_msg void OnEditPaste(); afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI); ! afx_msg void OnEditUndo(); ! afx_msg void OnUpdateEditUndo(CCmdUI* pCmdUI); ! afx_msg void OnEditRedo(); ! afx_msg void OnUpdateEditRedo(CCmdUI* pCmdUI); afx_msg void OnEditSelectall(); afx_msg void OnSearchBookmarksTogglebookmark(); *************** *** 162,166 **** afx_msg void OnToolsHighlightcurrentline(); afx_msg void OnUpdateToolsHighlightcurrentline(CCmdUI* pCmdUI); ! //}}AFX_MSG afx_msg void OnEditFind(); afx_msg void OnComboFunction(); --- 160,174 ---- afx_msg void OnToolsHighlightcurrentline(); afx_msg void OnUpdateToolsHighlightcurrentline(CCmdUI* pCmdUI); ! afx_msg void OnConfigureCurrentdocumentWordwrap(); ! afx_msg void OnUpdateConfigureCurrentdocumentWordwrap(CCmdUI* pCmdUI); ! afx_msg void OnConfigureCurrentdocumentSyntaxhighlighting(); ! afx_msg void OnUpdateConfigureCurrentdocumentSyntaxhighlighting(CCmdUI* pCmdUI); ! afx_msg void OnConfigureCurrentdocumentLinenumbers(); ! afx_msg void OnUpdateConfigureCurrentdocumentLinenumbers(CCmdUI* pCmdUI); ! afx_msg void OnConfigureCurrentdocumentBookmarkmargin(); ! afx_msg void OnUpdateConfigureCurrentdocumentBookmarkmargin(CCmdUI* pCmdUI); ! afx_msg void OnConfigureCurrentdocumentFoldmargin(); ! afx_msg void OnUpdateConfigureCurrentdocumentFoldmargin(CCmdUI* pCmdUI); ! //}}AFX_MSG afx_msg void OnEditFind(); afx_msg void OnComboFunction(); Index: ChangeLog.txt =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ChangeLog.txt,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** ChangeLog.txt 3 Jul 2003 12:58:39 -0000 1.23 --- ChangeLog.txt 6 Jul 2003 18:49:47 -0000 1.24 *************** *** 18,22 **** 11) Changed all 'bool''s to BOOL which removes many performance warnings [Source change] 12) Output window automatically is shown when a tool is run with the output window hidden ! 13) Fixed input entry length restriction bug. Beta 1.0 --- 18,26 ---- 11) Changed all 'bool''s to BOOL which removes many performance warnings [Source change] 12) Output window automatically is shown when a tool is run with the output window hidden ! 13) Fixed input entry length restriction bug. ! 14) AnyEdit now works properly for all users. Even if the admin setsup the program. ! 15) AnyEdit saves file only if it has to... ! 16) Added MiniToolbar feature. ! Beta 1.0 Index: GeneralPref.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/GeneralPref.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** GeneralPref.cpp 8 May 2003 12:00:56 -0000 1.6 --- GeneralPref.cpp 6 Jul 2003 18:49:47 -0000 1.7 *************** *** 54,58 **** m_startpage = m_reg.GetProfileInt(_T("Preferences"),_T("StartPage"),1); m_checkmod = m_reg.GetProfileInt(_T("Preferences"),_T("CheckModification"),1); ! //}}AFX_DATA_INIT } --- 54,59 ---- m_startpage = m_reg.GetProfileInt(_T("Preferences"),_T("StartPage"),1); m_checkmod = m_reg.GetProfileInt(_T("Preferences"),_T("CheckModification"),1); ! m_minitoolbar = m_reg.GetProfileInt(_T("Preferences"),_T("MiniToolbar"),1); ! //}}AFX_DATA_INIT } *************** *** 72,76 **** DDX_Check(pDX, IDC_CHECK10, m_startpage); DDX_Check(pDX, IDC_CHECK14, m_checkmod); ! //}}AFX_DATA_MAP } --- 73,78 ---- DDX_Check(pDX, IDC_CHECK10, m_startpage); DDX_Check(pDX, IDC_CHECK14, m_checkmod); ! DDX_Check(pDX, IDC_CHECK7, m_minitoolbar); ! //}}AFX_DATA_MAP } Index: GeneralPref.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/GeneralPref.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** GeneralPref.h 8 May 2003 12:00:56 -0000 1.4 --- GeneralPref.h 6 Jul 2003 18:49:47 -0000 1.5 *************** *** 21,25 **** // Dialog Data //{{AFX_DATA(CGeneralPref) ! enum { IDD = IDD_PREF_GENERAL }; BOOL m_SaveDocs; BOOL m_MaxMain; --- 21,25 ---- // Dialog Data //{{AFX_DATA(CGeneralPref) ! enum { IDD = IDD_PREF_GENERAL }; BOOL m_SaveDocs; BOOL m_MaxMain; *************** *** 33,37 **** BOOL m_startpage; BOOL m_checkmod; ! //}}AFX_DATA --- 33,38 ---- BOOL m_startpage; BOOL m_checkmod; ! BOOL m_minitoolbar; ! //}}AFX_DATA Index: MainFrm.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/MainFrm.cpp,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** MainFrm.cpp 2 Jul 2003 12:20:32 -0000 1.21 --- MainFrm.cpp 6 Jul 2003 18:49:47 -0000 1.22 *************** *** 999,1002 **** --- 999,1003 ---- m_reg.WriteProfileInt(_T("Preferences"),_T("StartPage"),dlgGeneral.m_startpage); m_reg.WriteProfileInt(_T("Preferences"),_T("CheckModification"),dlgGeneral.m_checkmod); + m_reg.WriteProfileInt(_T("Preferences"),_T("MiniToolbar"),dlgGeneral.m_minitoolbar); theApp.ResetAllProperties(); Index: ScintillaDefaults.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ScintillaDefaults.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** ScintillaDefaults.cpp 8 May 2003 12:00:56 -0000 1.9 --- ScintillaDefaults.cpp 6 Jul 2003 18:49:47 -0000 1.10 *************** *** 36,39 **** --- 36,40 ---- { LoadInitialColors(); + LoadInitialSettings(); } *************** *** 68,71 **** --- 69,102 ---- } + void CScintillaDefaults::AddLanguageToRegistry(int langcount,LPCSTR langstr,LPCSTR syntax,LPCSTR extension,LPCSTR acp) + { + char lang[10]; + sprintf(lang,"%d",langcount); + + m_reg.WriteProfileString(SEC_LANG,lang,langstr); + CString regstr = SEC_LANG; + regstr+= "\\"; + regstr+= langstr; + + m_reg.WriteProfileString(regstr,"SyntaxFile",syntax); + m_reg.WriteProfileString(regstr,"Extension",extension); + + if(!acp) + m_reg.WriteProfileString(regstr,"ACPFile",acp); + + } + + void CScintillaDefaults::LoadInitialSettings() + { + m_reg.WriteProfileInt(SEC_LANG,_T("Count"),7); + AddLanguageToRegistry(1,"Java","java.syn","java,jav","java.acmp"); + AddLanguageToRegistry(2,"HTML","html.syn","html,htm,php,asp,php3,shtml,phtml","html.acmp"); + AddLanguageToRegistry(3,"Cpp","cpp.syn","c,cc,cpp,cxx,h,hh,hxx,hpp","cpp.acmp"); + AddLanguageToRegistry(4,"JavaScript","javascript.syn","js"); + AddLanguageToRegistry(5,"CSS","css.syn","css"); + AddLanguageToRegistry(6,"XML","xml.syn","xml,xsl,svg,xul,xsd,dtd,xslt"); + AddLanguageToRegistry(7,"Perl","perl.syn","pl,pm,cgi,pod"); + } + void CScintillaDefaults::ApplyDefaults(CScintilla * m_Scintilla) { *************** *** 83,87 **** m_Scintilla->StyleSetFore(STYLE_LINENUMBER,fore_line_number); m_Scintilla->StyleSetBack(STYLE_LINENUMBER,back_line_number); - m_Scintilla->StyleSetFore(STYLE_BRACELIGHT,fore_bm); --- 114,117 ---- Index: ScintillaDefaults.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ScintillaDefaults.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ScintillaDefaults.h 8 May 2003 12:00:56 -0000 1.3 --- ScintillaDefaults.h 6 Jul 2003 18:49:47 -0000 1.4 *************** *** 27,30 **** --- 27,32 ---- void ReadColor(CString text,COLORREF &fore,COLORREF &back); void LoadInitialColors(); + void LoadInitialSettings(); + void AddLanguageToRegistry(int langcount,LPCSTR langstr,LPCSTR syntax,LPCSTR extension,LPCSTR acp=NULL); CRegProfile m_reg; Index: ToDo.txt =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ToDo.txt,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** ToDo.txt 2 Jul 2003 12:20:32 -0000 1.13 --- ToDo.txt 6 Jul 2003 18:49:47 -0000 1.14 *************** *** 53,57 **** window. ! >>> colors, function Why I can't set background colour to black?? There is --- 53,57 ---- window. ! colors, function Why I can't set background colour to black?? There is *************** *** 144,147 **** --- 144,148 ---- - Tabs to spaces does not work ? + - Long file names are displayed is their unreadable short form (e.g., "Document and Settings" -> "DOCUM~1" in title bar, recent files and Window menu Index: resource.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/resource.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** resource.h 8 May 2003 12:00:56 -0000 1.12 --- resource.h 6 Jul 2003 18:49:47 -0000 1.13 *************** *** 99,102 **** --- 99,103 ---- #define IDR_ERRPARSESPECIALS 245 #define IDD_QUICKJUMP 246 + #define IDR_VIEW 247 #define IDD_WIN2K_FILEDIALOG 446 #define IDB_FILEOPEN 447 *************** *** 411,414 **** --- 412,421 ---- #define ID_SEARCH_QUICKJUMP 33028 #define ID_TOOLS_STOPRECORDING 33030 + #define ID_CONFIGURE_CURRENTDOCUMENT_WORDWRAP 33035 + #define ID_CONFIGURE_CURRENTDOCUMENT_VIEWENDOFLINE 33036 + #define ID_CONFIGURE_CURRENTDOCUMENT_SYNTAXHIGHLIGHTING 33037 + #define ID_CONFIGURE_CURRENTDOCUMENT_LINENUMBERS 33039 + #define ID_CONFIGURE_CURRENTDOCUMENT_BOOKMARKMARGIN 33041 + #define ID_CONFIGURE_CURRENTDOCUMENT_FOLDMARGIN 33044 #define ID_OUTPUT_CLEAR 57632 #define ID_OUTPUT_COPY 57634 *************** *** 421,430 **** // Next default values for new objects ! // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_3D_CONTROLS 1 ! #define _APS_NEXT_RESOURCE_VALUE 247 ! #define _APS_NEXT_COMMAND_VALUE 33031 #define _APS_NEXT_CONTROL_VALUE 1088 #define _APS_NEXT_SYMED_VALUE 105 --- 428,437 ---- // Next default values for new objects ! // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_3D_CONTROLS 1 ! #define _APS_NEXT_RESOURCE_VALUE 249 ! #define _APS_NEXT_COMMAND_VALUE 33045 #define _APS_NEXT_CONTROL_VALUE 1088 #define _APS_NEXT_SYMED_VALUE 105 |
From: <td...@us...> - 2003-07-03 12:58:42
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1:/tmp/cvs-serv1276 Modified Files: AnyEdit.rc ChangeLog.txt FindDialog.cpp InputBox.cpp Log Message: Fixed input entry length restriction bug. Index: AnyEdit.rc =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.rc,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** AnyEdit.rc 24 Apr 2003 20:09:11 -0000 1.17 --- AnyEdit.rc 3 Jul 2003 12:58:39 -0000 1.18 *************** *** 1475,1485 **** LTEXT "File Location",IDC_STATIC,169,103,94,10 EDITTEXT IDC_EDIT1,168,59,115,13,ES_AUTOHSCROLL ! COMBOBOX IDC_COMBO1,169,85,114,41,CBS_DROPDOWNLIST | CBS_SORT | ! WS_VSCROLL | WS_TABSTOP EDITTEXT IDC_EDIT3,169,114,114,12,ES_AUTOHSCROLL CONTROL "Add To &Project",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,169,131,114,9 ! COMBOBOX IDC_COMBO3,169,142,114,41,CBS_DROPDOWNLIST | CBS_SORT | ! WS_VSCROLL | WS_TABSTOP GROUPBOX "",IDC_STATIC,3,0,156,160 CONTROL "List1",IDC_LIST_FILE,"SysListView32",WS_BORDER | --- 1475,1485 ---- LTEXT "File Location",IDC_STATIC,169,103,94,10 EDITTEXT IDC_EDIT1,168,59,115,13,ES_AUTOHSCROLL ! COMBOBOX IDC_COMBO1,169,85,114,41,CBS_DROPDOWNLIST | ! CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP EDITTEXT IDC_EDIT3,169,114,114,12,ES_AUTOHSCROLL CONTROL "Add To &Project",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,169,131,114,9 ! COMBOBOX IDC_COMBO3,169,142,114,41,CBS_DROPDOWNLIST | ! CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP GROUPBOX "",IDC_STATIC,3,0,156,160 CONTROL "List1",IDC_LIST_FILE,"SysListView32",WS_BORDER | *************** *** 1510,1519 **** STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Input" ! FONT 8, "MS Sans Serif", 0, 0, 0x1 BEGIN DEFPUSHBUTTON "OK",IDOK,141,49,50,14 PUSHBUTTON "Cancel",IDCANCEL,198,49,50,14 GROUPBOX "",IDC_STATIC,2,3,246,45 ! EDITTEXT IDC_EDIT1,6,25,238,12,ES_WANTRETURN,WS_EX_CLIENTEDGE EDITTEXT IDC_EDIT2,6,11,232,12,ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP --- 1510,1520 ---- STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Input" ! FONT 8, "MS Sans Serif" BEGIN DEFPUSHBUTTON "OK",IDOK,141,49,50,14 PUSHBUTTON "Cancel",IDCANCEL,198,49,50,14 GROUPBOX "",IDC_STATIC,2,3,246,45 ! EDITTEXT IDC_EDIT1,6,25,238,12,ES_AUTOHSCROLL | ES_WANTRETURN, ! WS_EX_CLIENTEDGE EDITTEXT IDC_EDIT2,6,11,232,12,ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP *************** *** 1577,1581 **** STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Clip Text Editor" ! FONT 8, "MS Sans Serif", 0, 0, 0x1 BEGIN DEFPUSHBUTTON "OK",IDOK,185,212,50,14 --- 1578,1582 ---- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Clip Text Editor" ! FONT 8, "MS Sans Serif" BEGIN DEFPUSHBUTTON "OK",IDOK,185,212,50,14 *************** *** 1589,1594 **** WS_EX_STATICEDGE LTEXT "Edit Clip Text",IDC_STATIC,168,105,44,16,SS_CENTERIMAGE ! COMBOBOX IDC_COMBO1,212,107,79,41,CBS_DROPDOWNLIST | CBS_SORT | ! WS_VSCROLL | WS_TABSTOP PUSHBUTTON "&SaveClip",IDC_BUTTON3,58,105,47,16 PUSHBUTTON "",IDC_BUTTON4,7,213,15,13 --- 1590,1595 ---- WS_EX_STATICEDGE LTEXT "Edit Clip Text",IDC_STATIC,168,105,44,16,SS_CENTERIMAGE ! COMBOBOX IDC_COMBO1,212,107,79,41,CBS_DROPDOWNLIST | ! CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP PUSHBUTTON "&SaveClip",IDC_BUTTON3,58,105,47,16 PUSHBUTTON "",IDC_BUTTON4,7,213,15,13 *************** *** 1700,1705 **** PUSHBUTTON "&Cancel",IDCANCEL,200,25,52,13 LTEXT "Find what",IDC_STATIC,9,12,42,10 ! COMBOBOX IDC_COMBO1,68,9,124,68,CBS_DROPDOWN | CBS_SORT | ! WS_VSCROLL | WS_TABSTOP CONTROL "&Match whole word only",IDC_CHECK1,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,8,36,88,10 --- 1701,1706 ---- PUSHBUTTON "&Cancel",IDCANCEL,200,25,52,13 LTEXT "Find what",IDC_STATIC,9,12,42,10 ! COMBOBOX IDC_COMBO1,68,9,124,68,CBS_DROPDOWN | CBS_AUTOHSCROLL | ! CBS_SORT | WS_VSCROLL | WS_TABSTOP CONTROL "&Match whole word only",IDC_CHECK1,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,8,36,88,10 *************** *** 1719,1726 **** FONT 8, "MS Sans Serif" BEGIN ! COMBOBOX IDC_COMBO1,66,7,124,68,CBS_DROPDOWN | CBS_SORT | ! WS_VSCROLL | WS_TABSTOP ! COMBOBOX IDC_COMBO3,66,24,124,68,CBS_DROPDOWN | CBS_SORT | ! WS_VSCROLL | WS_TABSTOP CONTROL "&Match whole word only",IDC_CHECK1,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,7,49,88,10 --- 1720,1727 ---- FONT 8, "MS Sans Serif" BEGIN ! COMBOBOX IDC_COMBO1,66,7,124,68,CBS_DROPDOWN | CBS_AUTOHSCROLL | ! CBS_SORT | WS_VSCROLL | WS_TABSTOP ! COMBOBOX IDC_COMBO3,66,24,124,68,CBS_DROPDOWN | CBS_AUTOHSCROLL | ! CBS_SORT | WS_VSCROLL | WS_TABSTOP CONTROL "&Match whole word only",IDC_CHECK1,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,7,49,88,10 Index: ChangeLog.txt =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ChangeLog.txt,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** ChangeLog.txt 2 Jul 2003 12:20:32 -0000 1.22 --- ChangeLog.txt 3 Jul 2003 12:58:39 -0000 1.23 *************** *** 17,21 **** Find options are carried on between different files. 11) Changed all 'bool''s to BOOL which removes many performance warnings [Source change] ! 12) Output window automatically is shown when a tool is run with the output window hidden Beta 1.0 --- 17,22 ---- Find options are carried on between different files. 11) Changed all 'bool''s to BOOL which removes many performance warnings [Source change] ! 12) Output window automatically is shown when a tool is run with the output window hidden ! 13) Fixed input entry length restriction bug. Beta 1.0 Index: FindDialog.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/FindDialog.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** FindDialog.cpp 8 May 2003 12:00:56 -0000 1.7 --- FindDialog.cpp 3 Jul 2003 12:58:39 -0000 1.8 *************** *** 133,138 **** char tempStr[1024]; CStringArray tempArr; ! ! CString comboStr = m_reg.GetProfileString(SEC_GREP,_T("FindCombo"),tempStr,""); tempArr.RemoveAll(); msc.ReturnDelimitedArray(comboStr,_T("|"),tempArr); --- 133,137 ---- char tempStr[1024]; CStringArray tempArr; ! CString comboStr = m_reg.GetProfileString(SEC_GREP,_T("FindCombo"),tempStr,""); tempArr.RemoveAll(); msc.ReturnDelimitedArray(comboStr,_T("|"),tempArr); Index: InputBox.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/InputBox.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** InputBox.cpp 8 May 2003 12:00:56 -0000 1.2 --- InputBox.cpp 3 Jul 2003 12:58:39 -0000 1.3 *************** *** 57,63 **** //{{AFX_DATA_MAP(CInputBox) DDX_Text(pDX, IDC_EDIT1, m_output); - DDV_MaxChars(pDX, m_output, 25); DDX_Text(pDX, IDC_EDIT2, m_heading); ! //}}AFX_DATA_MAP } --- 57,62 ---- //{{AFX_DATA_MAP(CInputBox) DDX_Text(pDX, IDC_EDIT1, m_output); DDX_Text(pDX, IDC_EDIT2, m_heading); ! //}}AFX_DATA_MAP } |
From: <td...@us...> - 2003-07-02 12:20:35
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1:/tmp/cvs-serv12841 Modified Files: AnyEdit.dsp ChangeLog.txt MainFrm.cpp MainFrm.h ToDo.txt Log Message: Output window automatically is shown when a tool is run with the output window hidden Index: AnyEdit.dsp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.dsp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** AnyEdit.dsp 7 May 2003 05:37:29 -0000 1.14 --- AnyEdit.dsp 2 Jul 2003 12:20:32 -0000 1.15 *************** *** 380,387 **** # Begin Source File - SOURCE=.\FString.cpp - # End Source File - # Begin Source File - SOURCE=.\FuncComboBox.cpp # End Source File --- 380,383 ---- *************** *** 1121,1128 **** SOURCE=.\DumpHandleApp.h - # End Source File - # Begin Source File - - SOURCE=.\FString.h # End Source File # Begin Source File --- 1117,1120 ---- Index: ChangeLog.txt =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ChangeLog.txt,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** ChangeLog.txt 1 Jul 2003 05:35:15 -0000 1.21 --- ChangeLog.txt 2 Jul 2003 12:20:32 -0000 1.22 *************** *** 17,21 **** Find options are carried on between different files. 11) Changed all 'bool''s to BOOL which removes many performance warnings [Source change] ! Beta 1.0 --- 17,21 ---- Find options are carried on between different files. 11) Changed all 'bool''s to BOOL which removes many performance warnings [Source change] ! 12) Output window automatically is shown when a tool is run with the output window hidden Beta 1.0 Index: MainFrm.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/MainFrm.cpp,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** MainFrm.cpp 8 May 2003 12:00:56 -0000 1.20 --- MainFrm.cpp 2 Jul 2003 12:20:32 -0000 1.21 *************** *** 119,122 **** --- 119,123 ---- ON_UPDATE_COMMAND_UI_RANGE(ID_VIEW_USER_TOOLBAR1, ID_VIEW_USER_TOOLBAR1 + iMaxUserToolbars - 1, OnUpdateToolsViewUserToolbar) ON_COMMAND_EX_RANGE(ID_USER_TOOL1, ID_USER_TOOL10, OnSelectedUserTools) + ON_UPDATE_COMMAND_UI_RANGE(ID_USER_TOOL1, ID_USER_TOOL10, OnUpdateUserTools) ON_COMMAND_EX_RANGE(ID_CUR_TOOL1, ID_CUR_TOOL5, OnCurrentUserTools) ON_REGISTERED_MESSAGE(BCGM_CUSTOMIZEHELP, OnHelpCustomizeToolbars) *************** *** 707,710 **** --- 708,716 ---- } + void CMainFrame::OnUpdateUserTools(CCmdUI* pCmdUI) + { + + } + void CMainFrame::OnUpdateToolsViewUserToolbar (CCmdUI* pCmdUI) { *************** *** 1099,1102 **** --- 1105,1114 ---- void CMainFrame::OnSelectedUserTools(UINT id) { + BOOL visible = (m_wndOutputBar.GetStyle () & WS_VISIBLE); + if(!visible) + { + OnViewOutput(); + } + m_ToolRunner.ExecuteTool(id,m_wndOutputBar.m_wndOutputBuild); } Index: MainFrm.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/MainFrm.h,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** MainFrm.h 8 May 2003 12:00:56 -0000 1.15 --- MainFrm.h 2 Jul 2003 12:20:32 -0000 1.16 *************** *** 159,162 **** --- 159,163 ---- afx_msg void OnMenuWsOpen(UINT id); afx_msg void OnUpdateToolsViewUserToolbar (CCmdUI* pCmdUI); + afx_msg void OnUpdateUserTools (CCmdUI* pCmdUI); afx_msg void OnSelectedUserTools(UINT id); afx_msg void OnCurrentUserTools(UINT id); Index: ToDo.txt =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ToDo.txt,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** ToDo.txt 1 Jul 2003 05:35:15 -0000 1.12 --- ToDo.txt 2 Jul 2003 12:20:32 -0000 1.13 *************** *** 21,27 **** ============= - *) Automaticly open the output window when executing - a tool. The VB version of AnyEdit does this. - *) Show the tools name in the hint box. The VB version does this. --- 21,24 ---- *************** *** 71,75 **** >>>> ! Pop up function definitions would detect a preciously defined function from the file ( or external if possible ) and pop up a tool tip with the function definition in it with --- 68,72 ---- >>>> ! Pop up function definitions would detect a previously defined function from the file ( or external if possible ) and pop up a tool tip with the function definition in it with |
From: <td...@us...> - 2003-07-02 10:54:22
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1:/tmp/cvs-serv28727 Added Files: gnu_regex.lib Log Message: Adding regex again as binary |
From: <td...@us...> - 2003-07-02 09:42:44
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1:/tmp/cvs-serv28251 Removed Files: gnu_regex.lib Log Message: Removing ascii version --- gnu_regex.lib DELETED --- |
From: <td...@us...> - 2003-07-01 05:35:17
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1:/tmp/cvs-serv15359 Modified Files: ChangeLog.txt ToDo.txt Log Message: Added new features and bugs Index: ChangeLog.txt =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ChangeLog.txt,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** ChangeLog.txt 7 May 2003 05:37:29 -0000 1.20 --- ChangeLog.txt 1 Jul 2003 05:35:15 -0000 1.21 *************** *** 16,20 **** 10) Find dialog vanishes after first successful find... further find carries on with F3 Find options are carried on between different files. ! 11) Changed all 'bool''s to BOOL which removes many performance warnings --- 16,20 ---- 10) Find dialog vanishes after first successful find... further find carries on with F3 Find options are carried on between different files. ! 11) Changed all 'bool''s to BOOL which removes many performance warnings [Source change] Index: ToDo.txt =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ToDo.txt,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** ToDo.txt 9 May 2003 08:30:24 -0000 1.11 --- ToDo.txt 1 Jul 2003 05:35:15 -0000 1.12 *************** *** 1,4 **** ! Todo before Alpha 10.0 ! ===================== 1) Fix up code completion --- 1,4 ---- ! Todo ! ==== 1) Fix up code completion *************** *** 7,10 **** --- 7,12 ---- 5) Make comment chars as configurable... HTML, XML, Cpp + No registry entries need to be present in the registry for starting ! + Todo In the near future ======================= *************** *** 12,21 **** NV 2) A Very good plugin architecture... possibly with events and configurable menu items 3) Error handling facilities.. Marking errors, warnings and taking to a line on clicking error ! 4) Class view for entire project Feature Additions ! ================= *) Automaticly open the output window when executing --- 14,23 ---- NV 2) A Very good plugin architecture... possibly with events and configurable menu items 3) Error handling facilities.. Marking errors, warnings and taking to a line on clicking error ! Feature Additions ! ============= *) Automaticly open the output window when executing *************** *** 25,30 **** does this. - *) Make it possible to assign a BMP/ICO to a tool button. - *) Make a beep (maybe optional) when tool execution finishes. --- 27,30 ---- *************** *** 166,173 **** -Add files path isn't remembered - 2 - Toolbars - - - Match Braces, Highlight current line, Autocompletion and codecompletion buttons are always disabled. The corresponding menus are also always disabled (but they are enabled in preferences) - 3 - Autocompletion --- 166,169 ---- *************** *** 202,234 **** 6 - Keystroke recording doesn't work - 7 - Document Tags: - - - They aren't sorted alphabetically - - for a single file like this: - - // file header.h - // - // struct CStruct - // { - // int m_iMember; - // } - // - // class CClass - // { - // void foo1() - // { - // - // } - // - // void foo2(); - // - // int m_iMember1; - // } - - foo1 is displayed in the tags view (because it has braces...), - but foo2 and m_iMember1 not. CStruct isn't displayed either. - But all them are in the tags file, and the *should* be displayed, - shouldn't they? - - in a project, classes are usually shown twice in the tags pane, one for the header and another for the implementation file. --- 198,201 ---- *************** *** 236,240 **** So it is *very* hard make assignments which make sense. - 9 - Switching to AnyEdit from any other app with ctrl+tab loses the cursor focus; it is necessary to mouse click in the editor area to retake it. 10 - After being editing for some time, just opening a menu from main menu causes AnyEdit to crash. It also crashes at exit from time to time... --- 203,206 ---- |
From: <td...@us...> - 2003-05-09 08:54:00
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1:/tmp/cvs-serv10328 Modified Files: AnyEdit.h Log Message: Testing mailing list Index: AnyEdit.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.h,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** AnyEdit.h 9 May 2003 08:36:16 -0000 1.22 --- AnyEdit.h 9 May 2003 08:53:56 -0000 1.23 *************** *** 1,4 **** // AnyEdit.h : main header file for the ANYEDIT application ! // Deepak #if !defined(AFX_ANYEDIT_H__06CE24A5_F738_11D5_B413_9B6FFB9DBC25__INCLUDED_) --- 1,4 ---- // AnyEdit.h : main header file for the ANYEDIT application ! // #if !defined(AFX_ANYEDIT_H__06CE24A5_F738_11D5_B413_9B6FFB9DBC25__INCLUDED_) |
From: <td...@us...> - 2003-05-09 08:36:18
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1:/tmp/cvs-serv4149 Modified Files: AnyEdit.h Log Message: Testing automatic mailing system Index: AnyEdit.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.h,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** AnyEdit.h 8 May 2003 12:00:56 -0000 1.21 --- AnyEdit.h 9 May 2003 08:36:16 -0000 1.22 *************** *** 1,4 **** // AnyEdit.h : main header file for the ANYEDIT application ! // #if !defined(AFX_ANYEDIT_H__06CE24A5_F738_11D5_B413_9B6FFB9DBC25__INCLUDED_) --- 1,4 ---- // AnyEdit.h : main header file for the ANYEDIT application ! // Deepak #if !defined(AFX_ANYEDIT_H__06CE24A5_F738_11D5_B413_9B6FFB9DBC25__INCLUDED_) |