[Lazarus] constant-highlight ? [Re: quick opinion poll / pascal highlighting "case"]

Martin lazarus at mfriebe.de
Mon May 24 17:36:19 CEST 2010


On 24/05/2010 16:27, Alexander Klenin wrote:
> On Tue, May 25, 2010 at 02:24, Mattias Gaertner
> <nc-gaertnma at netcologne.de>  wrote:
>    
>>> On 5/24/2010 11:03 AM, Alexander Klenin wrote:
>>>        
>>>> IMO, case labels are constants, and should be highlighted as such
>>> +1 for handling just like any other constant value
>>>        
>> Like string or like number or like identifier?
>>      
> Yes.
>    

Which one / What is highlighting same as constant?

const Foo = 1; // Foo is not highlighted:

literal constant:
'a' => blue by default
123 => dark(er) blue (navy) by default

Does this answer mean => case labels to be highlighted by color?

----------
Note that underline/italics can be applied in addition to existing 
highlight:

a blue string, a navy number, a normal-text identifer (e.g mrCancel) => 
all can be made italics

If you make them all colored, you override the original color.

Martin






More information about the Lazarus mailing list