From 758cf835f21b2f73da541857afac0f3b226ea20e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 18 Aug 2015 11:45:19 +0000 Subject: - naming conflict; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14983 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SpellChecker/src/RichEdit.h | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) (limited to 'plugins/SpellChecker/src/RichEdit.h') diff --git a/plugins/SpellChecker/src/RichEdit.h b/plugins/SpellChecker/src/RichEdit.h index 8d8b25f6bf..4556369c31 100644 --- a/plugins/SpellChecker/src/RichEdit.h +++ b/plugins/SpellChecker/src/RichEdit.h @@ -3,17 +3,17 @@ class RichEdit { - HWND hwnd; - IRichEditOle *ole; - ITextDocument *textDocument; - - int stopped; - BOOL undoEnabled; - POINT old_scroll_pos; - CHARRANGE old_sel; - POINT caretPos; - DWORD old_mask; - BOOL inverse; + HWND m_hwnd; + IRichEditOle *m_ole; + ITextDocument *m_textDocument; + + int m_stopped; + BOOL m_undoEnabled; + POINT m_old_scroll_pos; + CHARRANGE m_old_sel; + POINT m_caretPos; + DWORD m_old_mask; + BOOL m_inverse; public: RichEdit(HWND hwnd); @@ -44,7 +44,7 @@ public: void SetSel(int start, int end); void SetSel(const CHARRANGE &sel); - TCHAR *GetText(int start, int end) const; + TCHAR* GetText(int start, int end) const; int GetTextLength() const; void ReplaceSel(const TCHAR *new_text); @@ -58,8 +58,4 @@ private: int FixSel(CHARRANGE *to_fix, CHARRANGE sel_changed, int new_len); }; - - - - #endif // __RICHEDIT_H__ -- cgit v1.2.3