On Tue, 25 May 2010 10:36:30 +0200 Jürgen Hestermann <[email protected]> wrote:
>[...] > I always follow a strict indentation rule (each block is indented by 3 > characters, matching BEGINs and ENDs are either on the same line or are > aligned in the same column, all commands of a block start on the same column > as their enclosing BEGIN END, etc.). I don't see how this can be replaced by > coloring. If you have nested case statements you will still not know to which > of the case statements a constant belongs to unless you have a stict > intendation rule. With strict indentation rules highlighting becomes less important. But highlighting helps a lot reading code with unfamiliar indentation. The case label highlighting helps reading foreign code. Try it. For example for me the indentation of the MSEGui code is unfamiliar. The case labeling helps here. IMO it is a useful feature. It just has not much gain for well (read: familiar) indented code. The underline style is bad because it looks like a link. The italic style does not work with some carbon fonts. So italic should not be used there by default. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
