Here's how you find the right place:
First, search by filter for [tag[$:/tags/EditTemplate]].... and you will find this tiddler:
[[$:/core/ui/EditTemplate/type]
Next, examine the source of that tiddler, and you will find a <div> with
class="tc-edit-type-down"
Within that <div>, there is a <$list> widget that uses the following filter to populate the dropdown list:
[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]each[group]sort[group]]
Then, search by filter for [prefix[$:/language/Docs/Types/]], and you will find this tiddler:
[[$:/language/Docs/Types/text/plain]]
To make add your own type, start by cloning the above tiddler, and name it:
[[$:/language/Docs/Types/text/perl]]
Then, set the "description" field to "Perl Source Code" and the "name" field to "text/perl".
That's it. Your newly defined type will be automatically added to the droplist.
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...