Jump to content
Sign in to follow this  
gweather

Extra '}' added using SourceBoost

Recommended Posts

Just upgraded to SourceBoost IDE and noticed that when ever I try to close a function with } and extra } is added.  Not a show stopper, but it is anoying to have to delete the extra }.  :)

Share this post


Link to post
Share on other sites
Guest Pavel

Can't reproduce this. Can you describe your editor settings and steps to reproduce this problem.

 

Regards,

Pavel

Share this post


Link to post
Share on other sites

Editor settings:

default with Line numbers, Smart Inditaion and Folding checked

 

But its not doing it now!!!

 

If it does it again I will let you know

 

Thanks for the quick reply

 

George

Share this post


Link to post
Share on other sites

OK, I have seen this a lot of times now. It seems that when you start a new function on the last line of the file like this:

 

void function(void)

{

code

.

.

<eof>

 

when you add the '}' just before the <eof>, a second '}' is added after the one you enter. It seems to happen only when you are on the last line of the file. If you have an empty line below the line you are on, it does not happen.

 

Hopes this helps.

 

George

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...