Editor problem writing blanks

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
Diethard Wehn
Posts: 2
Joined: Sun Sep 28, 2008 12:07 pm

Editor problem writing blanks

Post by Diethard Wehn »

Hello from Germany,
I've been using WeBuilder 9.1.0.98 now for some weeks and I'm very happy with this great tool.
The only problem I found up to now is when I'm editing php files, sometimes a typed blank will be converted automatically to "&nbsp", where it does not make any sense. A typical situation is covered in the following picture. I just wanted to write "$sql = ", and the editor wrote "$sql = ".

Image

This happens from time to time - up to now I could not identify the "rule" behind this bug.

Diethard
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: Editor problem writing blanks

Post by chrisjlocke »

This is probably due to pressing shift + space. I used to do this a lot too, and its due to a keyboard shortcut.
Image

Remove this shortcut (Options -> Keyboard Shortcuts) and all should be well again. :)
User avatar
EvilBMP
Posts: 120
Joined: Thu Jan 04, 2007 1:57 am
Location: Germany

Re: Editor problem writing blanks

Post by EvilBMP »

Or just change it to Alt + Space for   and Alt + Enter for the <br />. I also had this problem very often at the beginning of using rapidphp/webuilder. I just happens because the shift key is often still pressed, if you type a =

greets
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: Editor problem writing blanks

Post by chrisjlocke »

Note that Alt + Space on Windows' systems is usually reserved to bring up the application system menu. WeBuilder (et al) will steal it instead, so its no conflicting issue, but just something to bear in mind.
Diethard Wehn
Posts: 2
Joined: Sun Sep 28, 2008 12:07 pm

Re: Editor problem writing blanks

Post by Diethard Wehn »

Hi folks,
thanks for your immediate help. Yes, you easily have the shift key still or already pressed while typing the blank - and so I couldn't detect that "rule behind the error".
Sometimes things are (too?) easy...
Diethard
davenz

Re: Editor problem writing blanks

Post by davenz »

I noticed this also and it was happening because of my sloppy keyboard 'skills'. I jumped to the conclusion it was the editor because I ditched my last editor for doing exactly that, changing symbols and spaces to named entitys (or whatever they are called) in all the wrong places, a 'feature' which could not be turned off. It meant that every javascript/script code would break as soon as it hit the editor; I could change it, but, when saved, the named entitys (or whatever they are called) would come back; quotes would become " etc. which would render scritping useless. Imagine my chagrin when I tried this and, while it didn't do it all the time, sometimes it did. I was a little miffed before I realised it wasn't the editor, it was my accidental break-space entering. I even went back to my old editor to be sure, but it was definitely breaking the code in a misguided effort to be 'useful'. Their loss, as I use WB exclusively now. I know that isn't like saying Tiger Woods uses so and so's golf clubs, but every user helps, right?

Glad the mystery is solved here as well.

Dave.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Editor problem writing blanks

Post by Karlis »

This is a common problem. So should this shortcut be removed? Anybody uses it?
Karlis Blumentals
Blumentals Software
www.blumentals.net
davenz

Re: Editor problem writing blanks

Post by davenz »

Karlis wrote:This is a common problem. So should this shortcut be removed? Anybody uses it?
I use it, but if consensus is it should be removed, so be it.

Dave
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: Editor problem writing blanks

Post by syrupcore »

I remove the shortcut in my setup. I pretty rarely use   cause I try to be l33t.

:D
Post Reply