From 3f6a6a9eefc54452dc99a15f67bdfabc7e19788b Mon Sep 17 00:00:00 2001 From: erihel Date: Sat, 9 Feb 2013 23:49:38 +0100 Subject: * Syntax highlighting in cbot editor (needs to be tested) --- src/ui/edit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/edit.h') 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 m_format; // format characters + std::vector m_format; // format characters int m_len; // length used in m_text int m_cursor1; // offset cursor int m_cursor2; // offset cursor -- cgit v1.2.3-1-g7c22