[Arguable Bug] CSS indent doesn't occur on first line

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.

  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".

Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!

[Arguable Bug] CSS indent doesn't occur on first line

Postby Ryan Williams » Wed May 30, 2007 1:20 pm

One thing that's irked me but I've never reported for some reason is the CSS auto-indentation.

Although it indents nicely for the most part (barring the "if you wrap onto two lines it doesn't indent properly" throughout WeBuilder bug I reported a while ago), the first line of the CSS never seems to indent.

Although it puts an indent in when it automatically creates the braces, if you go back later to add a first line to the CSS it doesn't indent and you have to indent it manually. It'd be nice if WeBuilder could look at the lines after it and if they're indented it indents the first one too.
Ryan Williams
 
Posts: 43
Joined: Tue Nov 14, 2006 2:27 pm

Postby Karlis » Wed May 30, 2007 7:29 pm

So you are referring to the indentation of the first line? Actually there is no special feature for this.

It simply takes the same indent as the previous line. Why? Because all other CSS and code editors we tested do the same, so I felt like it is ok.

Does this bother you a lot? What do others say?
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
Karlis
Site Admin
 
Posts: 3601
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe

Postby syrupcore » Wed May 30, 2007 8:11 pm

it doesn't bother me much except that when I hit tab to indent the line and the code hints box opens up, I can't hit tab to indent. First you have to hit escape to close the box and then tab but then once you tab, the code hints box doesn't come up. cross my eyes a little on this one. :)

A related problem comes up more for me. I use a snippet for "{}" on occasion when I only want a certain declaration to take a single line instead of three (usually when there is only one thing to declare, like .error{color:red}.

so, I type .error and then hit my shortcut to fire the snippet. my cursor lands between the braces but no code hints appear. If I hit tab, still no code hints but if I instead hit space, code hints comes up.
User avatar
syrupcore
Top Contributor
 
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Feature Requests

Who is online

Users browsing this forum: No registered users and 18 guests