Command completion overwrites existing text.

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;

Command completion overwrites existing text.

Postby Bud » Fri Jun 13, 2003 11:03 pm

Not sure if this is a bug or a feature request, but I've been burned enough times that it has become annoying, so: bug. :wink:

If I have some code, say
Code: Select all
<img src="foo.com">

Now, if I want to insert more parameters, I put the cursor right before the letter "s" in "src" and add the height parameter:
Code: Select all
<img height="25"src="foo.com">

Now, I want to add a width. So press space, and start typing. HTMLPad, being helpful, puts up the autocorrect box. If I ignore it and continue typing, then as soon as I hit the equals sign, this is what happens:

Code: Select all
<img height="25" widthsrc=="foo.com">

:sad: That's not happy.

Suppose I was lazy, and decided to use the autocorrect box instead. I select "width" from the pick-list and press enter. This is what happens:
Code: Select all
<img height="25" width=="foo.com">

:evil: Gahh!!! :twisted:
Bud
 

Code completion

Postby Underdog » Wed Jul 02, 2003 6:08 pm

Delphi also has a code completion bug like you mentioned. The answer is to have a space following the cursor as you type in front of other text. In your example, after you pressed space to go type the width parameter, move back one space using an arrow key and continue typing. It's a workaround that, if you use it often enough, becomes second nature.
Underdog
 
Posts: 8
Joined: Tue May 27, 2003 6:26 pm
Location: Orem, UT, USA


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron