Fancy editor BUG (Build 6182)

 

I was wondering, that macros sometimes dont appear in their correct color, so that one can see: This is a macro. 

And I figured out.

Example:

There is a macro named "abstract" which I use ... the sense is not important here. 

The macro is defined in a file in Line number #37


When I use this macro now in another file, it will only appear colored when the line - where the macro is used - is equal or higher than 37.

Please see for yourself:  

... and after inserting two empty lines above:


WTF! :D 

 
abstract is a built-in keyword in MQL5 (as in C++ and other programming languages as well) - you can't use it as a name for a macro or whatever else. 
 
Stanislav Korotky #:
abstract is a built-in keyword in MQL5 (as in C++ and other programming languages as well) - you can't use it as a name for a macro or whatever else. 
Where did you see abstract is a keyword in MQL5 ?
 
Alain Verleyen #:
Where did you see abstract is a keyword in MQL5 ?
Probably, I was a bit in a hurry - it looks like a reserved word. Java background played against me.
 
Stanislav Korotky #:
abstract is a built-in keyword in MQL5 (as in C++ and other programming languages as well) - you can't use it as a name for a macro or whatever else. 
Its not. And besides this, you can use reserved words for macros. And besides besides this, its not the topic :)