PDA

View Full Version : Idea to make editing styles easier


JamieLee2k
10-03-2006, 12:09 PM
When you edit a style is it possible to have the writing you put into the templates say red? just like when you edit something and the content turns red as it has been edited.

ericgtr
10-03-2006, 01:21 PM
That's a good idea but would probably take quite a bit of work which is why it's easiest to simply use labels for your code. This way no matter what editor you use you are able to find it, most of the time the text is copied out of the template, edited then pasted back in. Example:

<!-- my custom code -->
custom code
<!-- /my custom code-->

JamieLee2k
10-03-2006, 03:54 PM
Would it be possible to have a colour you can put in yourself then so you know what changes you made?

Can you put this code below into everything you change?
<!-- my custom code -->
custom code
<!-- /my custom code-->

ericgtr
10-03-2006, 04:49 PM
Well, I am not sure what it would take to change the color, I haven't looked into that. But, yes it is possible to apply the tags I've mentioned above to any standard HTML code (or in any template). In most cases people cut the code out of the template, edit it in their favorite text editor and then paste it back in. This is where labeling it is beneficial, regardless of where you edit your templates.

Also, as you have probably already noticed, any template that has been edited shows up in a different color, so you will at least know which templates those are.