Page 1 of 1

Default text for new document of each class

Posted: Wed Jun 11, 2008 5:56 pm
by programer99
TextPad should generate default text/syntax whenever a new document of a certain type is created. For example, for a new html file, the default text could be:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<TITLE></TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>


</body>
</html>

This will save a lot of typing from the programer.

The TextPad syntax file should allow the default text being defined by the syntax file creater.

Posted: Thu Jun 12, 2008 5:16 am
by Bob Hansen
Until then, just paste a line from your Clip Library.

Got it

Posted: Thu Jun 12, 2008 1:11 pm
by programer99
Thank you.