[Webuilder2010] fill asp areas with single background color

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
habakuck
Posts: 4
Joined: Sat Dec 05, 2009 3:04 pm

[Webuilder2010] fill asp areas with single background color

Post by habakuck »

Hi,
I was trying, but failing to get a single (non-white) background color to all asp areas, to make them stand out better from the surrounding html.
I tried to set all ASP elements to a grey background, but then all whitespace remains white. What I want is a complete fill with one backgroiund color, from the "<%" to the "%>", with no interuption. Homesite did that.

Please, don't tell me I can do it myself by studying your color scripting language for the next month, because I don't have the time to try and maybe find out that this can't be done at all. Is it possible? Did anyone ever do this? Is there an alternate coloring script that does that? Or is there a simple method that I just didn't figure out yet?

Btw, I am refering to Webuilder 2010.

Thanks in advance!

PS: I found a post from March 2008 dealing with this problem... have you gotten around to fix the highlighter script yet :wink: ?
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: [Webuilder2010] fill asp areas with single background color

Post by Karlis »

Well, then this can not be done from the user interface (Only by modifying syntax script). If you are a paying customer using the current version of the software, I will spend some time and modify the code to accomodate this need.
Karlis Blumentals
Blumentals Software
www.blumentals.net
habakuck
Posts: 4
Joined: Sat Dec 05, 2009 3:04 pm

Re: [Webuilder2010] fill asp areas with single background color

Post by habakuck »

Hi Karlis,

yes I am a paying customer, and I run the latest version. Do you mean you will incorporate this in the next version, or do you create an alternative script?
Anyway, big thank you!
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: [Webuilder2010] fill asp areas with single background color

Post by Karlis »

We will include it in the next version but you can do this sooner.

In aspparser.dat locate line starting with:
shtmlASP #32*

Rewrite it to be
//white space
shtmlASP #32* shtmlASP taspsymbol

This means that inside of ASP code (shtmlASP) one or more space characters (#32*) should be painted same color as asp

alternatively you can replace #32* with [#32#9]* to cover spaces and tabs.
Karlis Blumentals
Blumentals Software
www.blumentals.net
x3po
Posts: 139
Joined: Fri May 16, 2008 10:48 am

Re: [Webuilder2010] fill asp areas with single background color

Post by x3po »

Karlis wrote:We will include it in the next version [...]
This is a great news.
habakuck
Posts: 4
Joined: Sat Dec 05, 2009 3:04 pm

Re: [Webuilder2010] fill asp areas with single background color

Post by habakuck »

Thanks! I'll try it out.
Post Reply