LESS file editing problem (bug?)

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;

LESS file editing problem (bug?)

Postby ttx » Tue Jul 22, 2014 10:42 am

I switched from css to less recenty and was surprised how good Rapid PHP supports highlighting this format.

The only thing that bothers me, is when i use nested selectors like:
Code: Select all
.something {
  width: 123px;
  col[cursor]

  .something-else {
    color: red;
  }
}

I star to type attribute name (see [cursor]), autocomplete shows up, press [enter] and i get following result:
Code: Select all
.something {
  width: 123px;
  color[cursor]

  .something-else {
    color: red;
  }
}

while the expected result is:
Code: Select all
.something {
  width: 123px;
  color: [cursor]

  .something-else {
    color: red;
  }
}

Then i have to type the missing color and space (then again for next attribute, and again and again...). It works fine without nested selector.

Can you please fix this in next (minor) update?

Thank you.
ttx
 
Posts: 31
Joined: Wed Jul 28, 2010 10:20 am

Re: LESS file editing problem (bug?)

Postby Aivars » Tue Jul 22, 2014 11:56 am

I'll add it to the bugs.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2456
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia


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

Who is online

Users browsing this forum: No registered users and 14 guests

cron