summaryrefslogtreecommitdiffstats
path: root/src/ui/edit.h
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2013-02-09 23:49:38 +0100
committererihel <erihel@gmail.com>2013-02-09 23:49:38 +0100
commit3f6a6a9eefc54452dc99a15f67bdfabc7e19788b (patch)
tree922f41e337ff55439d0d622b3fb15448d937e9d6 /src/ui/edit.h
parent6f64770714c20a24a2edfd55777e05a047e61d0e (diff)
downloadcolobot-3f6a6a9eefc54452dc99a15f67bdfabc7e19788b.tar.gz
colobot-3f6a6a9eefc54452dc99a15f67bdfabc7e19788b.tar.bz2
colobot-3f6a6a9eefc54452dc99a15f67bdfabc7e19788b.zip
* Syntax highlighting in cbot editor (needs to be tested)
Diffstat (limited to 'src/ui/edit.h')
-rw-r--r--src/ui/edit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/edit.h b/src/ui/edit.h
index 7247181..75572c7 100644
--- a/src/ui/edit.h
+++ b/src/ui/edit.h
@@ -242,7 +242,7 @@ protected:
int m_maxChar; // max length of the buffer m_text
char* m_text; // text (without zero terminator)
- std::map<unsigned int, Gfx::FontMetaChar> m_format; // format characters
+ std::vector<Gfx::FontMetaChar> m_format; // format characters
int m_len; // length used in m_text
int m_cursor1; // offset cursor
int m_cursor2; // offset cursor