Enter on autocomplete "eats" next whitspaces

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
PMPP
Posts: 2
Joined: Thu Aug 04, 2011 4:50 pm

Enter on autocomplete "eats" next whitspaces

Post by PMPP »

Hi, with Rapid PHP 2011 11.0.1.127

When working with JS typing the start of a var name and hitting CTRL+SHIFT to ask for the autocomplete and hitting enter, the var does get its name, but all the white spaces from the end of the var name to the next code are deleted.

I can always reproduce it.

-create a new empty UTF-8 without BOM, save it as JS.
do something like:

Code: Select all

var testing = 'lol';
var othercode = null;
save, and then hit enter after = 'lol'; (to create a newline and start to type tes[then hit ctrl+space and pick testing and hi enter]:
you get :

Code: Select all

var testing = 'lol';
testingvar othercode = null;
Even if I do it like :

Code: Select all

var testing = 'lol';
test



var othercode = null;
it ends with the same result.

Anyway, awesome tool, congratulations!
davenz

Re: Enter on autocomplete "eats" next whitspaces

Post by davenz »

Yes, you are correct and it is 100% reproducible on my machine as well.

Interestingly, I notice in the auto-complete list every entry has the word 'Class' before it except two entries which have lots of white space instead of class; the two entries are 'testing' and 'othercode' and both behave like you described, 'eating' the space at the EOL.

Image Image

This is probably a bug and the developers will probably confirm it and look into doing something about it when they view your post.

Thanks for finding and reporting it, you are helping improve the software by doing so.
PMPP
Posts: 2
Joined: Thu Aug 04, 2011 4:50 pm

Re: Enter on autocomplete "eats" next whitspaces

Post by PMPP »

No problem, I really like RapidPHP and I think it's an awesome tool. I've been using it already for 3 "versions".
I'll make sure to always report bugs/quirks that I might found ;)
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Enter on autocomplete "eats" next whitspaces

Post by Gatis »

Hi,

Thank you for the report and please accept our apologies. This issue will be fixed with next update.
Kind regards,
Gatis Avots
Post Reply