Author Topic: abbreviations of comments  (Read 3537 times)

Offline jeancf

  • Multiple posting newcomer
  • *
  • Posts: 20
abbreviations of comments
« on: December 20, 2006, 02:13:24 pm »
Hi,

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

Code
//----------------------------------------

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

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2775
Re: abbreviations of comments
« Reply #1 on: December 20, 2006, 02:20:57 pm »
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:

« Last Edit: December 20, 2006, 02:38:47 pm by Pecan »