richedit: Implement EM_GETTEXTMODE.
commit8662c6fe7b60d9ff563ba790d4431ef30250249b
authorDylan Smith <dylan.ah.smith@gmail.com>
Mon, 2 Feb 2009 06:32:29 +0000 (2 01:32 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 2 Feb 2009 14:21:44 +0000 (2 15:21 +0100)
tree799ca52599087ad3b99d36d6035c58c16ede2ec3
parent1a3551b630eae2418692f21790fcc7fc973f5366
richedit: Implement EM_GETTEXTMODE.

The text mode is already stored, and EM_SETTEXTMODE already exists.

There was however a bug in EM_MakeEditor that could cause TM_PLAINTEXT
and TM_RICHEDIT to be set at the same time.  This was corrected to ensure
EM_GETTEXTMODE returned the proper mode being used.
dlls/riched20/editor.c