WebBuilder 2006 Tabs

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
The World of Dan
Posts: 4
Joined: Sat Apr 01, 2006 5:05 pm

WebBuilder 2006 Tabs

Post by The World of Dan »

Hi, I've got a problem with how this program handles tabs, I don't know if it's a setting that I've set incorrectly or something, but it's not working as I think it should.

When coding I use tabs for indenting, not spaces. Hitting the [tab] key to add a tab works fine, as does pressing [return] to move to the next line correctly adds the number of tabs to auto-indent. So far so good!

The problem I have is when it comes to deleting tabs - if I hit the [backspace], it replaces the tab character with 3 spaces, which then requires a further press of the backspace key to remove.

Is there any way I can stop these tabs from being converted into spaces? Thank you.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

I'm afraid I can not reproduce the behavior you have described. using the default settings. Please let me know what settings have you enabled for the editor and what is your tab width, the line of code causing the problem could also be helpful.
Karlis Blumentals
Blumentals Software
www.blumentals.net
The World of Dan
Posts: 4
Joined: Sat Apr 01, 2006 5:05 pm

Post by The World of Dan »

Now it's acting diffrently once again... When I hit backspace on a line with tabs on it, the entire line is now being deleted.

I'm more than happy at this point to admit that I could have messed up a setting somewhere, so what I'd like to do first is reset all the options back to default, can you let me know how to do this please? Then I'll work on it further to see what happens.
mwb1100
Posts: 72
Joined: Thu Jun 02, 2005 8:00 am

Post by mwb1100 »

You may want to see if modifying the settings in the Text Editor/General setting preferences panel for the following options can give you the behavior you want:

- Convert tabs to spaces
- Remove trailing spaces and tabs
The World of Dan
Posts: 4
Joined: Sat Apr 01, 2006 5:05 pm

Post by The World of Dan »

OK, I can give you some more info...

First of all, I've reinstalled the program from scratch, so everything was set back to default...

The 'tabs turning into spaces when deleted' thing still exists, but only when inside if statement curley bracks {}

if I type

Code: Select all

if ($var) {
[tab]echo 'hi mum';
[tab]
then press [backspace] to delete the second tab, it turns it into 3 spaces..

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

Post by Karlis »

Ok, this has been registered as known problem. I can't promise quick fix, because it is not trivial problem to solve, but we will try to do our best.
Karlis Blumentals
Blumentals Software
www.blumentals.net
The World of Dan
Posts: 4
Joined: Sat Apr 01, 2006 5:05 pm

Post by The World of Dan »

Any idea what's actully causing it?
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

The problem is that I actually have no idea why at that specific case it does not work, thus it will require to dig deep...
Karlis Blumentals
Blumentals Software
www.blumentals.net
Post Reply