From 579d7cae6b2e893ee675087666ad51c8fe5f9187 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 1 Jun 2001 06:25:30 +0000 Subject: Changed name of ColouriseContext to allow debugging. --- src/LexEiffel.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/LexEiffel.cxx b/src/LexEiffel.cxx index 85f0649a6..1296fb245 100644 --- a/src/LexEiffel.cxx +++ b/src/LexEiffel.cxx @@ -64,11 +64,11 @@ inline bool IsADigit(unsigned int ch) { // which just continues the current token or starts an identifier if in default. // DBCS treated specially as the second character can be < 0x80 and hence // syntactically significant. UTF-8 avoids this as all trail bytes are >= 0x80 -class ColouriseContext { +class xColouriseContext { Accessor &styler; int lengthDoc; int currentPos; - ColouriseContext& operator=(const ColouriseContext&) { + xColouriseContext& operator=(const xColouriseContext&) { return *this; } public: @@ -77,7 +77,7 @@ public: unsigned int ch; unsigned int chNext; - ColouriseContext(unsigned int startPos, int length, + xColouriseContext(unsigned int startPos, int length, int initStyle, Accessor &styler_) : styler(styler_), lengthDoc(startPos + length), @@ -139,7 +139,7 @@ static void ColouriseEiffelDoc(unsigned int startPos, WordList &keywords = *keywordlists[0]; - ColouriseContext lc(startPos, length, initStyle, styler); + xColouriseContext lc(startPos, length, initStyle, styler); for (; lc.More(); lc.Forward()) { -- cgit v1.2.3