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" |