summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/RichEdit.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SpellChecker/src/RichEdit.h')
-rw-r--r--plugins/SpellChecker/src/RichEdit.h28
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__