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.
Default text for new document of each class
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 3
- Joined: Wed Jun 11, 2008 4:03 pm
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact: