diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-18 11:45:19 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-18 11:45:19 +0000 |
commit | 758cf835f21b2f73da541857afac0f3b226ea20e (patch) | |
tree | 0f57bf33503bfcbcad53285bbf9b5fb40aa62ffe /plugins/SpellChecker/src/RichEdit.h | |
parent | ce2529939b498acc2be8c3c09c897c6f96eee9f7 (diff) |
- naming conflict;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14983 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SpellChecker/src/RichEdit.h')
-rw-r--r-- | plugins/SpellChecker/src/RichEdit.h | 28 |
1 files changed, 12 insertions, 16 deletions
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__
|