X-Git-Url: http://git.sourceforge.jp/view?p=tortoisegit%2FTortoiseGitJp.git;a=blobdiff_plain;f=src%2FTortoiseGitBlame%2FTortoiseGitBlameView.h;h=01a8667d292731b9572681008a06f3350b9cbe8f;hp=5a89063708d521652ca590f8a1339ee306b137b5;hb=281a471bbc3b014471b71e812032051c17559f9d;hpb=27f44321c909484bffb4b0c9e83ca536f98ecb67 diff --git a/src/TortoiseGitBlame/TortoiseGitBlameView.h b/src/TortoiseGitBlame/TortoiseGitBlameView.h index 5a89063..01a8667 100644 --- a/src/TortoiseGitBlame/TortoiseGitBlameView.h +++ b/src/TortoiseGitBlame/TortoiseGitBlameView.h @@ -86,6 +86,23 @@ protected: afx_msg void OnMouseHover(UINT nFlags, CPoint point); afx_msg void OnMouseMove(UINT nFlags, CPoint point); afx_msg LRESULT OnFindDialogMessage(WPARAM wParam, LPARAM lParam); + afx_msg void OnViewNext(); + afx_msg void OnViewPrev(); + + int FindNextLine(CString commithash, bool bUpOrDown=false); + int FindFirstLine(CString commithash, int line) + { + while(line>=0) + { + if( m_CommitHash[line] != commithash ) + { + return line++; + } + line--; + } + return line; + } + DECLARE_MESSAGE_MAP() static UINT m_FindDialogMessage;