News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

abbreviations of comments

Started by jeancf, December 20, 2006, 02:13:24 PM

Previous topic - Next topic

jeancf

Hi,

I tried to create an abbreviation to add a separator line in my code like this:

//----------------------------------------

I wanted the abbreviation to be //- but typing this sequence followed by CTRL+J does not do anything.

I also tried /, //, //-- and *-+ with no more success.

Are symbols in abbreviations limited to [A-Za-z0-9]?

Thanks,

/~jc

Pecan

#1
I use "sep" as an abbreviation maybe 100 times a day. Works great.
Yes, you're correct; it seems that special chars cannot be used in abbreviations.

I go to abbreviations and enter "sep" as the abbreviation:


then enter the text for the abbreviation


then go to the editor; type sepCtrlJ and get: