Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ソースファイル末尾の空行を一括削除する #1170

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion sakura_core/CAutoReloadAgent.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,3 @@ class CAutoReloadAgent : public CDocListenerEx{
int m_nPauseCount; //これが1以上の場合は監視をしない
int m_nDelayCount; //未編集で再ロード時の遅延カウンタ
};

1 change: 0 additions & 1 deletion sakura_core/CAutoSaveAgent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,3 @@ bool CPassiveTimer::CheckAction(void)
Reset();
return true;
}

1 change: 0 additions & 1 deletion sakura_core/CAutoSaveAgent.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,3 @@ class CAutoSaveAgent : public CDocListenerEx{
private:
CPassiveTimer m_cPassiveTimer;
};

1 change: 0 additions & 1 deletion sakura_core/CBackupAgent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -557,4 +557,3 @@ bool CBackupAgent::FormatBackUpPath(
}
return true;
}

1 change: 0 additions & 1 deletion sakura_core/CBackupAgent.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ class CBackupAgent : public CDocListenerEx{
int MakeBackUp( const WCHAR* target_file ); //!< バックアップの作成
bool FormatBackUpPath( WCHAR*, size_t, const WCHAR* ); //!< バックアップパスの作成 2005.11.21 aroka
};

1 change: 0 additions & 1 deletion sakura_core/CCodeChecker.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@ class CCodeChecker : public CDocListenerEx, public TSingleton<CCodeChecker>{
//ロード時チェック
void OnFinalLoad(ELoadResult eLoadResult) override;
};

1 change: 0 additions & 1 deletion sakura_core/CDataProfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,3 @@ bool CDataProfile::IOProfileData<std::wstring>(
}
return ret;
}

1 change: 0 additions & 1 deletion sakura_core/CDicMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,3 @@ int CDicMgr::HokanSearch(
in.Close();
return (int)vKouho.size();
}

1 change: 0 additions & 1 deletion sakura_core/CDicMgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,3 @@ class CDicMgr
|| 実装ヘルパ関数
*/
};

1 change: 0 additions & 1 deletion sakura_core/CEditApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,3 @@ bool CEditApp::OpenPropertySheetTypes( int nPageNum, CTypeConfig nSettingType )

return bRet;
}

1 change: 0 additions & 1 deletion sakura_core/CEditApp.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,3 @@ class CAppExitException : public std::exception{
public:
const char* what() const throw(){ return "CAppExitException"; }
};

1 change: 0 additions & 1 deletion sakura_core/CEol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,3 @@ void CEol::SetTypeByStringForFile_unibe( const char* pszData, int nDataLen )
{
SetType( _GetEOLType_unibe( pszData, nDataLen ) );
}

1 change: 0 additions & 1 deletion sakura_core/CEol.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,3 @@ class CEol{
private:
EEolType m_eEolType; //!< 改行コードの種類
};

1 change: 0 additions & 1 deletion sakura_core/CFileExt.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,3 @@ class CFileExt

DISALLOW_COPY_AND_ASSIGN(CFileExt);
};

1 change: 0 additions & 1 deletion sakura_core/CGrepAgent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1946,4 +1946,3 @@ int CGrepAgent::DoGrepReplaceFile(

return nHitCount;
}

1 change: 0 additions & 1 deletion sakura_core/CGrepAgent.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,3 @@ class CGrepAgent : public CDocListenerEx{
bool m_bGrepMode; //!< Grepモードか
bool m_bGrepRunning; //!< Grep処理中
};

1 change: 0 additions & 1 deletion sakura_core/CGrepEnumKeys.h
Original file line number Diff line number Diff line change
Expand Up @@ -256,4 +256,3 @@ class CGrepEnumKeys {
return 0;
}
};

1 change: 0 additions & 1 deletion sakura_core/CHokanMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -702,4 +702,3 @@ LPVOID CHokanMgr::GetHelpIdTable(void)
return (LPVOID)p_helpids;
}
//@@@ 2002.01.18 add end

1 change: 0 additions & 1 deletion sakura_core/CHokanMgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,3 @@ class CHokanMgr final : public CDialog
*/
LPVOID GetHelpIdTable(void) override; //@@@ 2002.01.18 add
};

1 change: 0 additions & 1 deletion sakura_core/CKeyWordSetMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -682,4 +682,3 @@ int CKeyWordSetMgr::SearchKeyWordSet( const wchar_t* pszKeyWord )
}
return nIdx;
}

1 change: 0 additions & 1 deletion sakura_core/CKeyWordSetMgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,3 @@ class CKeyWordSetMgr
bool KeyWordReAlloc(int nIdx, int nSize);
void KeywordMaxLen(int nIdx);
};

1 change: 0 additions & 1 deletion sakura_core/CLoadAgent.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ class CLoadAgent : public CDocListenerEx{
void OnAfterLoad(const SLoadInfo& sLoadInfo) override;
void OnFinalLoad(ELoadResult eLoadResult) override;
};

1 change: 0 additions & 1 deletion sakura_core/CMarkMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,3 @@ void CAutoMarkMgr::Expire(void)
if( m_nCurpos < 0 )
m_nCurpos = 0;
}

1 change: 0 additions & 1 deletion sakura_core/CMarkMgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,3 @@ class CAutoMarkMgr final : public CMarkMgr{
void Add(const CMark& m) override; //!< 要素の追加
void Expire(void) override; //!< 要素数の調整
};

1 change: 0 additions & 1 deletion sakura_core/COpe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,3 @@ void CInsertOpe::DUMP( void )
}
return;
}

1 change: 0 additions & 1 deletion sakura_core/COpe.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,3 @@ class CMoveCaretOpe final : public COpe{
m_ptCaretPos_PHY_After = ptCaretPos;
}
};

1 change: 0 additions & 1 deletion sakura_core/COpeBlk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,3 @@ void COpeBlk::DUMP( void )
}
#endif
}

1 change: 0 additions & 1 deletion sakura_core/COpeBuf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,3 @@ void COpeBuf::DUMP()
MYTRACE( L"COpeBuf.m_nCurrentPointer=[%d]----\n", m_nCurrentPointer );
#endif
}

1 change: 0 additions & 1 deletion sakura_core/COpeBuf.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,3 @@ class COpeBuf {
int m_nCurrentPointer; //!< 現在位置
int m_nNoModifiedIndex; //!< 無変更な状態になった位置
};

1 change: 0 additions & 1 deletion sakura_core/CProfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,4 +380,3 @@ void CProfile::DUMP( void )
#endif
return;
}

1 change: 0 additions & 1 deletion sakura_core/CProfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,3 @@ class CProfile
};

#define _INI_T LTEXT

1 change: 0 additions & 1 deletion sakura_core/CPropertyManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,3 @@ bool CPropertyManager::OpenPropertySheetTypes( HWND hWnd, int nPageNum, CTypeCon

return bRet;
}

1 change: 0 additions & 1 deletion sakura_core/CPropertyManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ class CPropertyManager{
int m_nPropComPageNum;
int m_nPropTypePageNum;
};

1 change: 0 additions & 1 deletion sakura_core/CReadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,3 @@ EConvertResult CReadManager::ReadFile_To_CDocLineMgr(
// CModifyVisitor().ResetAllModifyFlag(pcDocLineMgr, 0);
return eRet;
}

1 change: 0 additions & 1 deletion sakura_core/CReadManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ class CReadManager : public CProgressSubject{
SFileInfo* pFileInfo
);
};

1 change: 0 additions & 1 deletion sakura_core/CRegexKeyword.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -466,4 +466,3 @@ DWORD CRegexKeyword::GetNewMagicNumber()
{
return ::GetTickCount();
}

1 change: 0 additions & 1 deletion sakura_core/CRegexKeyword.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,3 @@ class CRegexKeyword : public CBregexp {
};

//@@@ 2001.11.17 add end MIK

1 change: 0 additions & 1 deletion sakura_core/CSaveAgent.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,3 @@ class CSaveAgent : public CDocListenerEx{
private:
SSaveInfo m_sSaveInfoForRollback;
};

1 change: 0 additions & 1 deletion sakura_core/CSearchAgent.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,3 @@ class CSearchAgent{
private:
CDocLineMgr* m_pcDocLineMgr;
};

1 change: 0 additions & 1 deletion sakura_core/CSelectLang.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,4 +403,3 @@ HINSTANCE CSelectLang::ChangeLang( UINT nIndex )

return m_psLangInfo->hInstance;
}

1 change: 0 additions & 1 deletion sakura_core/CSelectLang.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,3 @@ class CLoadString

// 文字列ロード簡易化マクロ
#define LS( id ) ( CLoadString::LoadStringSt( id ) )

1 change: 0 additions & 1 deletion sakura_core/CSortedTagJumpList.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,3 @@ class CSortedTagJumpList {

DISALLOW_COPY_AND_ASSIGN(CSortedTagJumpList);
};

1 change: 0 additions & 1 deletion sakura_core/CWriteManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@ class CWriteManager : public CProgressSubject{
const SSaveInfo& sSaveInfo //!< [in]
);
};

1 change: 0 additions & 1 deletion sakura_core/EditInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,3 @@ struct EditInfo {
// コンストラクタ
EditInfo() noexcept;
};

1 change: 0 additions & 1 deletion sakura_core/StdAfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@

// TODO: STDAFX.H に含まれていて、このファイルに記述されていない
// ヘッダーファイルを追加してください。

1 change: 0 additions & 1 deletion sakura_core/StdAfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,3 @@

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ は前行の直前に追加の宣言を挿入します。

1 change: 0 additions & 1 deletion sakura_core/_main/CAppMode.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ class CAppMode : public TSingleton<CAppMode>, public CDocListenerEx{ //###仮
public:
wchar_t m_szGrepKey[1024]; //!< Grepモードの場合、その検索キー
};

1 change: 0 additions & 1 deletion sakura_core/_main/CCommandLine.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,3 @@ class CCommandLine : public TSingleton<CCommandLine> {
CNativeW m_cmProfile; //! プロファイル名
std::vector<std::wstring> m_vFiles; //!< ファイル名(複数)
};

1 change: 0 additions & 1 deletion sakura_core/_main/CControlProcess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,3 @@ CControlProcess::~CControlProcess()
}
::CloseHandle( m_hMutex );
};

1 change: 0 additions & 1 deletion sakura_core/_main/CControlProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@ class CControlProcess final : public CProcess {
HANDLE m_hEventCPInitialized; //!< コントロールプロセス初期化完了イベント 2006.04.10 ryoji
CControlTray* m_pcTray;
};

1 change: 0 additions & 1 deletion sakura_core/_main/CControlTray.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,3 @@ class CControlTray

WCHAR m_szLanguageDll[MAX_PATH];
};

1 change: 0 additions & 1 deletion sakura_core/_main/CMutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,3 @@ class LockGuard {
o_.Unlock();
}
};

1 change: 0 additions & 1 deletion sakura_core/_main/CNormalProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ class CNormalProcess final : public CProcess {
private:
CEditApp* m_pcEditApp; //2007.10.23 kobake
};

1 change: 0 additions & 1 deletion sakura_core/_main/CProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,3 @@ class CProcess : public TSingleInstance<CProcess> {

private:
};

1 change: 0 additions & 1 deletion sakura_core/_main/CProcessFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,4 +342,3 @@ bool CProcessFactory::TestWriteQuit()
}
return false;
}

1 change: 0 additions & 1 deletion sakura_core/_main/CProcessFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@ class CProcessFactory {
bool WaitForInitializedControlProcess(); // 2006.04.10 ryoji コントロールプロセスの初期化完了イベントを待つ
bool TestWriteQuit(); // 2007.09.04 ryoji 「設定を保存して終了する」オプション処理(sakuext連携用)
};

1 change: 0 additions & 1 deletion sakura_core/_main/WinMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,3 @@ int WINAPI wWinMain(
::OleUninitialize(); // 2009.01.07 ryoji 追加
return 0;
}

1 change: 0 additions & 1 deletion sakura_core/_main/global.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,3 @@ class CEditWnd;
extern CEditWnd* g_pcEditWnd;

HINSTANCE G_AppInstance();

1 change: 0 additions & 1 deletion sakura_core/_os/CClipboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -674,4 +674,3 @@ int CClipboard::GetDataType()
if(::IsClipboardFormatAvailable(CF_HDROP))return CF_HDROP;
return -1;
}

1 change: 0 additions & 1 deletion sakura_core/_os/CClipboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ class CClipboard{
static CLIPFORMAT GetSakuraFormat(); //!< サクラエディタ独自のクリップボードデータ形式
static int GetDataType(); //!< クリップボードデータ形式(CF_UNICODETEXT等)の取得
};

1 change: 0 additions & 1 deletion sakura_core/_os/CDropTarget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -427,4 +427,3 @@ STDMETHODIMP CEnumFORMATETC::Clone(IEnumFORMATETC** ppenum)
{
return E_NOTIMPL;
}

1 change: 0 additions & 1 deletion sakura_core/_os/CDropTarget.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,3 @@ class CEnumFORMATETC : public CYbInterfaceImpl<IEnumFORMATETC> {
STDMETHOD( Reset )(void);
STDMETHOD( Clone )(IEnumFORMATETC** ppenum);
};

1 change: 0 additions & 1 deletion sakura_core/_os/OleTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,3 @@ inline SysString* Wrap(BSTR *Value)
{
return reinterpret_cast<SysString*>(Value);
}

1 change: 0 additions & 1 deletion sakura_core/apiwrap/CommonControl.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,3 @@ namespace ApiWrap
}

using namespace ApiWrap;

1 change: 0 additions & 1 deletion sakura_core/apiwrap/StdApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,3 @@ namespace ApiWrap
#define PostMessageCmd PostMessage
}
using namespace ApiWrap;

1 change: 0 additions & 1 deletion sakura_core/apiwrap/StdControl.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,3 @@ namespace ApiWrap{
void TreeView_ExpandAll( HWND, bool, int nMaxDepth = 100 );
}
using namespace ApiWrap;

1 change: 0 additions & 1 deletion sakura_core/basis/CLaxInteger.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/*! @file */
#include "StdAfx.h"
#include "CLaxInteger.h"

1 change: 0 additions & 1 deletion sakura_core/basis/CLaxInteger.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ class CLaxInteger{
private:
int m_value;
};

1 change: 0 additions & 1 deletion sakura_core/basis/CMyPoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,3 @@ inline void TwoPointToRect(
prcRect->right = (Int)pt1.x;
}
}

1 change: 0 additions & 1 deletion sakura_core/basis/CMyRect.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,3 @@ class CMyRect : public RECT{

//!CRect合成。rc1,rc2を含む最小の矩形を生成する。
CMyRect MergeRect(const CMyRect& rc1, const CMyRect& rc2);

1 change: 0 additions & 1 deletion sakura_core/basis/CMySize.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ class CMySize : public SIZE{
bool operator == (const SIZE& rhs) const{ return cx==rhs.cx && cy==rhs.cy; }
bool operator != (const SIZE& rhs) const{ return !operator==(rhs); }
};

1 change: 0 additions & 1 deletion sakura_core/basis/CMyString.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,3 @@ class CCommandLineString{
WCHAR m_szCmdLine[1024];
WCHAR* m_pHead;
};

1 change: 0 additions & 1 deletion sakura_core/basis/CStrictInteger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@
#define USE_STRICT_INT //←これをコメントアウトすると厳格なintが無効になります。リリースビルドでは常に無効。
#endif
#endif

1 change: 0 additions & 1 deletion sakura_core/basis/CStrictInteger.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,3 @@ STRICTINT_LEFT_INT_CMP(int)
STRICTINT_LEFT_INT_CMP(short)
STRICTINT_LEFT_INT_CMP(size_t)
STRICTINT_LEFT_INT_CMP(LONG)

1 change: 0 additions & 1 deletion sakura_core/basis/CStrictPoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,3 @@ template <class SUPER, class INT_TYPE, class SUPER_INT_TYPE = INT_TYPE> class CS
return pt;
}
};

1 change: 0 additions & 1 deletion sakura_core/basis/CStrictRange.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,3 @@ class CRangeBase{
PointType m_ptFrom;
PointType m_ptTo;
};

1 change: 0 additions & 1 deletion sakura_core/basis/CStrictRect.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@ template <class INT_TYPE, class POINT_TYPE> class CStrictRect{
return *this;
}
};

1 change: 0 additions & 1 deletion sakura_core/basis/SakuraBasis.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,3 @@ inline void TwoPointToRect(
prcRect->right = pt1.GetX2();
}
}

1 change: 0 additions & 1 deletion sakura_core/basis/primitive.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,3 @@ typedef char KEYCODE;
#else
typedef int Int;
#endif

1 change: 0 additions & 1 deletion sakura_core/charset/CCesu8.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@ class CCesu8 : public CCodeBase {
return CUtf8()._UnicodeToHex( cSrc, iSLen, pDst, psStatusbar, true );
}
};

Loading