Author Topic: Spaces missing after function names  (Read 2463 times)

jorick

  • Senior Community Member
  • Posts: 362
  • Hero Points: 17
Spaces missing after function names
« on: October 08, 2015, 09:37:40 pm »
I have my options set up to put a space between the function name and the opening ( as well as a space inside ( ) and [ ] if the list is empty.  When I type part of the function name and then select the function from the list that pops up, it fills it out but doesn't put the space in before the (.  I have to manually put it in every time.  Also, I notice that the space between ( ) and [ ] disappears randomly (most often the [ ]), usually after some sort of formatting operation.

v20.0.0.4 64-bit

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1638
  • Hero Points: 140
Re: Spaces missing after function names
« Reply #1 on: October 09, 2015, 01:25:30 pm »
Is this something new to v20?

I had about two handfuls of questions, but perhaps it's just easier to have you collect the follwing files from your config data and post them so I can take a look.

  • vunxdata.e or vusrdata.e
  • vusr_beautifier.e

And which language is this for?

jorick

  • Senior Community Member
  • Posts: 362
  • Hero Points: 17
Re: Spaces missing after function names
« Reply #2 on: October 09, 2015, 01:49:37 pm »
This was something that I believe was added in v19 but didn't work right.  It's for the C language.

I've attached vusrdata.e but I don't have a vusr_beautifier.e in my config.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1638
  • Hero Points: 140
Re: Spaces missing after function names
« Reply #3 on: October 09, 2015, 01:51:49 pm »
I'm a bozo, I asked for the wrong filename. Is there a vusr_beautifier.xml file?

Maybe I need to get caffeine into my system faster.   ;D

jorick

  • Senior Community Member
  • Posts: 362
  • Hero Points: 17
Re: Spaces missing after function names
« Reply #4 on: October 09, 2015, 02:34:52 pm »
Attached.

My company sells syringe pumps that have the ability to infuse up to 18 kiloliters (which is about 4,500 gallons) at a rate of about a pint per minute with a really large syringe.  I'm sure coffee would be no problem for it...

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1638
  • Hero Points: 140
Re: Spaces missing after function names
« Reply #5 on: October 12, 2015, 02:33:11 pm »
I see what you mean with the completion dialogs.  I'm testing a fix for that now, but it may not make the next beta drop.

I have not seen the space before parens disappear yet.  Is this while you're working on the line that has the space that gets whacked, or just near it? 

jorick

  • Senior Community Member
  • Posts: 362
  • Hero Points: 17
Re: Spaces missing after function names
« Reply #6 on: October 12, 2015, 04:10:11 pm »
The space before the function never gets put in.  I type the function name and hit space and I get the parenthesis with no space.

With the brackets, I need to be working on the line.