Default text for new document of each class
Posted: Wed Jun 11, 2008 5:56 pm
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.
<!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.