A colon is : and a semi-colon is ;.

The commentstring is as far I know used for Ctrl-Shift-A type of action with
which you can add or remove a comment. My question is about changing the color
(syntax-highlighting) of a comment started with a colon.

Here an example from a mod-file:

PARAMETER {
        : e = -90 mV for inhibitory synapses,
        :     0 mV for excitatory
        e = -90 (mV)
        
        : tau_x decay time, alpha_x release rate neurotransmitter
        : Default values are chosen here are according to parameter choice for
AMPA receptors in Wang's paper
        tau_x = 0.05    (ms)    < 1e-9, 1e9 >
        alpha_x = 1     (1)     <0,1>
        
        
        : tau_s decay time, alpha_s on rate for binding of neurotransmitter to
receptors
        : Default values are chosen here are according to parameter choice for
GABA receptors in Wang's paper
        tau_s = 2               (ms)    < 1e-9, 1e9 >
        alpha_s = 1     (1/ms)  
        
        : g this is basically a convenient unit
        g       = 10 (pS)
}

This comment style is  analogous to the semi-colon style but uses a colon
instead.

-- 
<http://forum.pspad.com/read.php?2,30216,30226>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem