Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > PHP/MySQL/Scripting

  • Print
  • + Share This
This chapter is from the book

Extending the Project

The code as written uses a fixed indent size of three characters, set in the Indent method when you set TabSize equal to 3. It would be nice to let the user set the indent size. I'll leave it as an optional challenge for you. Think about how you might present this choice to the user, and how you would code the application to accept and apply the user's chosen indent size (Figure 4.42).

Figure 4.42Figure 4.42 Your HTML editor now indents HTML code for readability.

  • + Share This
  • 🔖 Save To Your Account