From: boca4711 <boc...@us...> - 2005-10-16 12:01:39
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17069 Modified Files: AnyEditView.cpp AnyEditView.h Log Message: - Added calltip support - Added Jump to last change - Added insert filename, path - Added insert date - Added insert GUID - Added join/split - Added normalize - Added justification (left, right, center, block) Index: AnyEditView.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEditView.h,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** AnyEditView.h 12 Oct 2005 18:55:57 -0000 1.51 --- AnyEditView.h 16 Oct 2005 12:01:30 -0000 1.52 *************** *** 134,137 **** --- 134,141 ---- // Generated message map functions protected: + void GetAndRemoveTextBlock(CStringArray& arText); + bool m_bSmartTab; + void DoInsertText(CString strText); + void DoCodelist(bool bOneWord); bool m_bReadOnlySave; void StopIncrementalSearch(void); *************** *** 297,300 **** --- 301,325 ---- afx_msg void OnUpdateEditAdvancedInsertTextIntoLines(CCmdUI* pCmdUI); afx_msg void OnUpdateSearchFindreplace(CCmdUI* pCmdUI); + afx_msg void OnToolsCalltip(); + afx_msg void OnUpdateToolsCalltip(CCmdUI* pCmdUI); + afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags); + afx_msg void OnSearchJumpToLastChange(); + afx_msg void OnEditInsertFilename(); + afx_msg void OnEditInsertFilenameWithPath(); + afx_msg void OnEditInsertPath(); + afx_msg void OnEditInsertDateTime(); + afx_msg void OnEditInsertDate(); + afx_msg void OnEditInsertGuid(); + afx_msg void OnEditTab(); + afx_msg void OnEditFormatJoin(); + afx_msg void OnEditFormatSplit(); + afx_msg void OnUpdateEditFormatJoin(CCmdUI* pCmdUI); + afx_msg void OnUpdateEditFormatSplit(CCmdUI* pCmdUI); + afx_msg void OnEditFormatNormalize(); + afx_msg void OnUpdateEditFormatNormalize(CCmdUI* pCmdUI); + afx_msg void OnEditFormatLeft(); + afx_msg void OnEditFormatRight(); + afx_msg void OnEditFormatCenter(); + afx_msg void OnEditFormatBlock(); //}}AFX_MSG afx_msg void OnEditFind(); Index: AnyEditView.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEditView.cpp,v retrieving revision 1.91 retrieving revision 1.92 diff -C2 -d -r1.91 -r1.92 *** AnyEditView.cpp 8 May 2005 10:58:48 -0000 1.91 --- AnyEditView.cpp 16 Oct 2005 12:01:30 -0000 1.92 *************** *** 43,46 **** --- 43,51 ---- #include "Misc.h" #include "FileSpec.h" + #include "FolderDlg.h" + #include "DateDlg.h" + #include "DateTimeFormat.h" + #include "PropertiesDlg.h" + #include "FilePropertyDlg.h" #ifdef _DEBUG [...1100 lines suppressed...] + arText.SetAtGrow(nLine, strText.Mid(nLineStart)); + nLine++; + strText.Empty(); + } + if (j != nLastLine || bLastLineEmpty) + { + arText.SetAtGrow(nLine, _T("")); + nLine++; + } + } + else + strText += _T(' ') + strLine; + } + + // remove old selection + m_Scintilla.SetSel(nStartPos, nEndPos); + strText = m_Scintilla.GetSelText(); + m_Scintilla.TargetFromSelection(); + m_Scintilla.ReplaceTarget(0, _T("")); + } |