Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why doesn Designer surround generate code with special tags or mark it as read-only?

0
10 Posted

Why doesn Designer surround generate code with special tags or mark it as read-only?

0
10

Using special tags or marking code read-only would go against several of Designer’s major design goals. Designer does not make any distinction between generated code and user-written code. Designer is designed to generated the same code that you would write by hand and to make minimal changes to the source when you make a change to the design view. Designer never regenerates the entire source for a file. If you change a single property, it will change only a single line of code. That line of code could theoretically be anywhere in the source file (including within lines originally created by Designer or within lines that you wrote by hand).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123