Hi, is it only me ore are there others who find the following behaviors of the pascal syntax highlighter in lazarus strange and inconsistent and sometimes even annoying?
* some types (String and AnsiString) are highlighted, all other types (built in or not) are not highlighted. IMHO no type names should be highlighted. * all reserved words for control flow (for, to, if, then, do, else, repeat, until, while, begin, end, try, except, finally, raise, goto) are highlighted, the only ones that are not highlighted are break, continue and exit. IMHO all such reserved words that describe the program structure should be highlighted. For example break and exit are of the same caliber as raise (or even goto) and also used for similar design patterns, I don't see why they should be treated differently. I have tried to think about it long and hard but I cannot find any reason that would justify these anomalies other than maybe some historical reasons. For example a (hypothetical) reason that string is internally working in a different way than a Double or an Integer IMHO does not justify any different syntax highlighting, they all still belong into the same *category*: they appear in var declarations as type names and are used like type names everywhere no different than any other type name, so they consequently should look like type names and not like language keywords. Bernd -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
