Vorgeplänkel
Code in schwarz auf weiß im Standard Formularfeld für TypoScript ist schon etwas trist...
Man kann jedoch dem Editor
UltraEdit Syntax-Highlighting für TypoScript beibringen.
Dieses Tutorial ist eine Zusammenfassung von
der Seite bzw.
dem Thread von
Riccabona eSolutions.
Dateien mit der Dateiendung ts werden dann als TypoScript-Dateien interpretiert.
Syntax-Highlighting im UltraEdit einrichten
Man öffnet im UltraEdit die Einstellungen zum Syntax-Highlighting über:
-> Extras
-> Optionen
Im neuen Fenster:
-> Anzeige
-> Syntaxhervorhebung
Dort sieht man, wo die Wortlistendatei gespeichert ist.
Man kann diese Wortlistendatei mit dieser wortfile.txt überschreiben (sie enthält schon alle nötigen Änderungen).
Wenn man schon selbst einmal etwas an dieser Datei geändert hat:
Dort klickt man unter Vollständiger Pfad zur Wortlistendatei den Button Öffnen und es öffnet sich jene Datei (wahrscheinlich im UltraEdit).
In diese Datei fügt man am Ende folgenden Code ein:
/L11"TypoScript" PHP_LANG Line Comment = // Line Comment Alt = # Block Comment On = /* Block Comment Off = */ Escape Char = \ File Extensions = ts
/Delimiters = ~!@%^&*()-+=|\/{}[]:;"'<> , .?
/Function String = "%[a-zA-Z_]*)[~;]"
/Indent Strings = "{"
/Unindent Strings = "}"
/Open Brace Strings = "{" "(" "["
/Close Brace Strings = "}" ")" "]"
/Open Fold Strings = "{"
/Close Fold Strings = "}"
/C1"HTML Tags"
<?
<a </a> <abbr> <abbr </abbr> <above> <acronym> <acronym </acronym> <address> <address </address> <applet </applet> <array> <area </area
<b> <b </b> <base <basefont <bdo> <bdo </bdo> <bgsound <big> <big </big> <blink> </blink> <blockquote> <blockquote </blockquote> <body <body> </body> <box> <br <br> <br/> <big <blink <button> </button>
<caption> <caption </caption> <center> <center </center> <cite> <cite </cite> <code> <code </code> <col> <colgroup> </colgroup> <comment> </comment>
<dd> <dd </dd> <del> <del </del> <dfn> <dfn </dfn> <dir> <dir </dir> <div> <div </div> <dl> <dl </dl> <dt> <dt </dt>
<em> <em </em> <embed
<fieldset> <fieldset </fieldset> <fig> <font </font> <form> <form </form> <frame <frameset </frameset>
<h1> <h1 </h1> <h2> <h2 </h2> <h3> <h3 </h3> <h4> <h4 </h4> <h5> <h5 </h5> <h6> <h6 </h6> <head> <head </head> <hr> <hr <hr/> <html> <html </html>
<i> <i </i> <iframe> </iframe> <ilayer> </ilayer> <img <input> <input <ins> <ins </ins> <isindex> <isindex
<kbd> <kbd </kbd>
<label> <label </label> <layer> <layer </layer> <legend> <legend </legend> <li> <li </li> <link <listing> </listing>
<map </map> <marquee </marquee> <menu> <menu </menu> <meta <multicol> </multicol>
<nextid <nobr> </nobr> <noframes> </noframes> <nolayer> </nolayer> <note> </note> <noscript> </noscript>
<object> <object <ol> <ol </ol> <option> <option </option> <optgroup> <optgroup </optgroup>
<p <p> </p> <param <pre> <pre </pre>
<q> <q </q> <quote>
<range> <root>
<s> <s </s> <samp> <samp </samp> <script <script> </script> <select </select> <small> <small </small> <sound <spacer> <span> <span </span> <sqrt> <strike> <strike </strike> <strong> <strong </strong> <style> <style </style> <sub> <sub </sub> <sup> <sup </sup>
<table> <table </table> <tbody> <tbody </tbody> <td <td> </td> <text> <textarea <textarea> </textarea> <tfoot> <tfoot </tfoot> <th <th> </th> <thead> <thead </thead> <title> </title> <tr <tr> </tr> <tt> </tt> <tt
<u> <u </u> <ul> <ul </ul>
<var> </var> <var
<wbr>
<xmp> </xmp>
?>
// />
/C2"HTML Attributes"
abbr= accept-charset= accept= accesskey= action= align= alink= alt= archive= axis=
background= behavior below bgcolor= border=
cellpadding= cellspacing= char= charoff= charset= checked cite= class= classid= clear= code= codebase= codetype= color= cols= colspan= content= coords=
data= datetime= defer dir= disabled
enctype=
face= for= frame= frameborder= framespacing=
headers= height= hidden= href= hreflang= hspace= http-equiv=
id= ismap=
label= lang= language= link= loop= longdesc=
mailto= marginheight= marginwidth= maxlength= media= method= multiple
name= nohref noresize noshade
object= onblur= onchange= onfocus= onkeydown= onkeypress= onkeyup= onload= onreset= onselect= onsubmit= onunload= onclick= ondblclick= onmousedown= onmousemove= onmouseout= onmouseover= onmouseup=
profile= prompt=
readonly rel= rev= rows= rowspan= rules=
scheme= scope= scrolling= selected shape= size= span= src= standby= start= style= summary=
tabindex= target= text= title= topmargin= type=
url= usemap=
valign= value= valuetype= version= vlink= vspace=
width=
/C3"Keywords"
admPanel alt_print all arrowACT arrowNO ascii atLeast atMost
browser be_groups be_users browse bullets
cache CHECK cObj cObject COMMENT config content CSS_inlineStyle
dataArray dayofmonth dayofweek device displayList displaySingle dynCSS default directory directReturn div
edit else email end equals external
folder folderTree foldoutMenu Functions false fe_groups fe_users feadmin
gmenu_foldout gmenu_layers
hostname hour header html
imgList imgResource imgText info IP id if ifEmpty image inBranch isFalse isGreaterThan isInList isLessThan isPositive isTrue
jsmenu
keywords
LABEL layout lib loginUser language leveltitle list login
marks minute mod month mailform media menu multimedia module
noResultObj numRows negate NEW none
options
page pageTree PIDinRootline PIDitemDisplay PIDupinRootline plugin postform postform_newThread preview publish pages pages_language_overlay parseFunc_RTE pid
RADIO renderObj REQ RTE RTE_compliant required rootline
select setup split stat stat_apache stat_apache_logfile stat_apache_noHost stat_apache_notExtended stat_apache_pagenames stat_excludeBEuserHits stat_excludeIPList
stat_mysql stat_titleLen stat_typeNumList stdWrap subparts system script search shortcut sitemap SPC splash sys_dmail sys_domain sys_filemounts sys_note sys_template
sendCacheHeaders
temp template treeLevel tsdebug typolink table text textpic this top true twice
url useragent userFunc uid uniqueGlobal uniqueLocal unsetEmpty updated uploads us user_task usergroup
version
workOnSubpart web_func web_info web_layout web_list web_ts
xhtml_strict xhtml_trans
ypMenu
/C4"Operators and Conditions"
<
>
=
{
}
** [
]
^
| ||
~
`
/C5"Methods, Properties and Constants"
_offset
absRefPrefix accessibility accessKey addAttributes addExtUrlsAndShortCuts addItems additionalHeaders additionalParams addParams addQueryString adjustItemsH
adjustSubItemsH adminPanelStyles after afterImg afterImgLink afterImgTagParams afterROImg afterWrap age align allow allowCaching allowedAttribs allowedClasses
allowedCols allowEdit allowedNewTables allowNew allowTags allowTVlisting allStdWrap allWrap alternateBgColors alternativeSortingField alternativeTempPath
altImgResource altLabels altTarget altText altUrl altWrap always alwaysActivePIDlist alwaysLink andWhere angle antiAlias append applyTotalH applyTotalW archive
archiveTypoLink arrayReturnMode arrowACT arrowImgParams arrowNO ATagAfterWrap ATagBeforeWrap ATagParams ATagTitle attribute autoInsertPID autoLevels autonumber
backColor background badMess baseURL before beforeImg beforeImgLink beforeImgTagParams beforeROImg beforeWrap begin beLoginLinkIPList beLoginLinkIPList_login
beLoginLinkIPList_logout bgCol bgImg blankStrEqFalse blur bm bodyTag bodyTagAdd bodyTagCObject bodyTagMargins bodytext border borderCol bordersWithin borderThick
bottomBackColor bottomContent bottomHeight bottomImg bottomImg_mask br brTag bullet bulletlist bytes
cache_clearAtMidnight cache_period caption caption_stdWrap captionAlign captionHeader captionSplit case casesensitiveComp cellpadding cellspacing centerImgACT
centerImgCUR centerImgNO centerLeftImgACT centerLeftImgCUR centerLeftImgNO centerRightImgACT centerRightImgCUR centerRightImgNO char charcoal charMapConfig
check class classesAnchor classesCharacter classesImage classesParagraph clear clearCache clearCache_disable clearCache_pageGrandParent
clearCache_pageSiblingChildren clearCacheCmd clearCacheLevels clearCacheOfPages clickTitleMode clipboardNumberPads cMargins cObjNum collapse color color1 color2
color3 color4 colors colour colPos_list colRelations cols colSpace comment_auto commentWrap compensateFieldWidth compX compY conf constants
content_from_pid_allowOutsideDomain count_HMENU_MENUOBJ count_menuItems count_MENUOBJ create crop csConv CSS_inlineStyle current curUid cWidth
data dataWrap date date_stdWrap datePrefix debug debugData debugFunc debugItemConf debugRenumberedObject default defaultAlign defaultCmd defaultHeaderType
defaultOutput defaultType delete denyTags depth DESC dimensions directionLeft directionUp disableAdvanced disableAllHeaderCode disableAltText disableBigButtons
disableCacheSelector disableCharsetHeader disabled disableDocSelector disableHideAtCopy disableIconLinkToContextmenu disableNewContentElementWizard
disableNoMatchingValueElement disablePageExternalUrl disablePrefixComment disablePrependAtCopy disableSearchBox disableSingleTableView displayActiveOnLoad
displayContent displayFieldIcons displayIcons displayMessages displayQueries displayRecord displayTimes distributeX distributeY DIV doctype doctypeSwitch
doktype doNotLinkIt doNotShowLink doNotStripHTML dontCheckPid dontFollowMouse dontHideOnMouseUp dontLinkIfSubmenu dontWrapInTable doubleBrTag doublePostCheck dWorkArea
edge edit_docModuleUpload editFieldsAtATime editFormsOnPage editIcons editNoPopup editPanel elements emailMess emboss enable encapsLines encapsLinesStdWrap
encapsTagList entryLevel equalH everybody excludeDoktypes excludeUidList expAll expand explode ext externalBlocks extTarget
face fe_adminLib field fieldOrder fieldRequired fields fieldWrap file file1 file2 file3 file4 file5 filelink filelist firstLabel firstLabelGeneral fixAttrib
flip flop foldSpeed foldTimer fontColor fontFile fontOffset fontSize fontSizeMultiplicator fontTag forceTemplateParsing forceTypeValue format frame
frameReloadIfNotInFrameset frameSet freezeMouseover ftu function
gamma gapBgCol gapLineCol gapLineThickness gapWidth get getBorder getLeft getRight globalNesting goodMess gray group groupBy groupid
header headerComment headerData headerSpace headTag height hidden hiddenFields hide hideButCreateMap hideMenuTimer hideMenuWhenNotOver hidePStyleItems highColor
history hover hoverStyle HTMLparser HTMLparser_tags htmlSpecialChars htmlTag_dir htmlTag_langKey htmlTag_setParams http
icon icon_image_ext_list icon_link iconCObject ifEmpty image image_compression image_effects image_frames imageLinkWrap imagePath images imageWrapIfAny imgList
imgMap imgMapExtras imgMax imgNameNotRandom imgNamePrefix imgObjNum imgParams imgPath imgStart import inc includeCSS includeLibrary includeNotInMenu
incT3Lib_htmlmail index index_descrLgd index_enable index_externals inlineStyle2TempFile innerStdWrap innerStdWrap_all innerWrap innerWrap2 input inputLevels
insertClassesFromRTE insertData insertDmailerBoundaries intensity intTarget intval invert IProcFunc itemArrayProcFunc itemH items itemsProcFunc iterations
join JSWindow JSwindow_params jumpUrl jumpurl jumpurl_enable jumpurl_mailto_disable jumpUrl_transferSession
keep keepEntries keepNonMatchedTags key
label labelStdWrap labelWrap lang language language_alt languageField layer_menu_id layerStyle left leftImgACT leftImgCUR leftImgNO leftjoin leftOffset levels
leveluid limit line lineColor lineThickness linkPrefix linkTitleToSelf linkVars linkWrap listNum listOnlyInSingleTableView lm locale_all localNesting locationData
lockFilePath lockPosition lockPosition_addSelf lockPosition_adjust longdescURL lowColor lower LR
mailto main mainScript makelinks markerWrap mask max maxAge maxAgeDays maxChars maxH maxHeigh maxItems maxW maxWidth maxWInText menuBackColor menuHeight
menuName menuOffset menuWidth message_page_is_being_generated message_preview meta metaCharset method min minH minItems minW mode MP_defaults
MP_disableTypolinkClosestMPvalue MP_mapRootPoints
name nesting netprintApplicationLink newPageWiz newRecordFromTable newWindow newWizards next niceText no_cache no_search noAttrib noBlur noCols noCreateRecordsLink
noLink noLinkUnderline noMatchingValue_label nonCachedSubst nonTypoTagStdWrap nonTypoTagUserFunc nonWrappedTag noOrderBy noPageTitle noRows noScaleUp
noStretchAndMarginCells notification_email_charset notification_email_encoding notification_email_urlmode noTrimWrap noValueInsert
offset offsetWrap onlyCurrentPid opacity orderBy outerWrap outline outputLevels override overrideAttribs overrideEdit overrideId overrideWithExtension
pageFrameObj pageGenScript pageTitleFirst parameter params parseFunc parser password path permissions pid_list pidInList pixelSpaceFontSizeRef plaintextLib
plainTextStdWrap postCObject postLineBlanks postLineChar postLineLen postUserFunc postUserFuncInt preBlanks preCObject prefix prefixComment prefixLocalAnchors
prefixRelPathWith preIfEmptyListNum preLineBlanks preLineChar preLineLen prepend preserveEntities preUserFunc prev previewBorder prevnextToSection printheader
prioriCalc proc processScript properties protect protectLvar publish_levels QEisDefault quality radio radioWrap range rawUrlEncode recipient recursive
redirect reduceColors register relativeToParentLayer relativeToTriggerItem relPathPrefix remap remapTag removeBadHTML removeDefaultJS removeIfEquals
removeIfFalse removeItems removeObjectsOfDummy removePrependedNumbers removeTags removeWrapping renderCharset renderWrap reset resources resultObj
returnLast rightImgACT rightImgCUR rightImgNO rightjoin rm rmTagIfNoAttrib RO_chBgColor rotate rows rowSpace RTEfullScreenWidth rules
sample saveDocNew secondRow section sectionIndex select select_key selectFields separator set setContentToCurrent setCurrent setfixed setFixedHeight setFixedWidth
setJS_mouseOver setJS_openPic setOnly shadow sharpen shear short shortcut shortcutFrame shortcutIcon show showAccessRestrictedPages showActive
showClipControlPanelsDespiteOfCMlayers showFirst showHiddenPages showHiddenRecords showPageIdWithTitle showTagFreeClasses simulateDate simulateStaticDocuments
simulateStaticDocuments_addTitle simulateStaticDocuments_dontRedirectPathInfoError simulateStaticDocuments_noTypeIfNoTitle simulateStaticDocuments_pEnc
simulateStaticDocuments_pEnc_onlyP simulateUserGroup singlePid site_author site_keywords sitetitle siteUrl size smallFormFields solarize sorting source space
spaceAfter spaceBefore spaceBelowAbove spaceLeft spaceRight spacing spamProtectEmailAddresses spamProtectEmailAddresses_atSubst
spamProtectEmailAddresses_lastDotSubst special splitChar splitRendering src stayFolded stdheader stdWrap stdWrap2 strftime stripHtml styles stylesheet
submenuObjSuffixes subMenuOffset submit subst_elementUid substMarksSeparately substring swirl sword sword_noMixedCase SWORD_PARAMS sword_standAlone sys_language_mode
sys_language_overlay sys_language_softMergeIfNotBlank sys_language_uid
table tableCellColor tableParams tables tableStdWrap tableStyle tableWidth tags target TDparams templateContent templateFile text textarea textMargin
textMargin_outOfText textMaxLength textObjNum textPos textStyle thickness tile time_stdWrap tipafriendLib title titleTagFunction titleText tm token topOffset
totalWidth transparentBackground transparentColor trim tsdebug_tree type typeNum types typolinkCheckRootline
uidInList unset uploads upper useCacheHash useLargestItemX useLargestItemY user user_task userdefined userfunction userid userIdColumn USERNAME_substToken userProc
value valueArray
wave where width wiz wordSpacing workArea wrap wrap1 wrap2 wrap3 wrapAfterTags wrapAlign wrapFieldName wrapItemAndSub wrapNonWrappedLines wraps
xhtml_cleaning xmlprologue xPosOffset
yPosOffset
/C6"Variables and filepaths"
** fileadmin/
** :
** $
/C7"PlugIns"
tt_address tt_board tt_board_list tt_board_tree tt_calender tt_content tt_guest tt_news tt_poll tt_products tt_rating tx_automaketemplate_pi1 tx_browserpagetitle
tx_browserpagetitle_browser_title tx_dephpot_pi1 tx_lzgallery_pi1 tx_newloginbox_pi1 tx_open_printlink tx_pdfgenerator tx_realurl_enable tx_realurl_pi1
tx_srfeuserregister_pi1 tx_templavoila_pi1 tx_terdoc_pi1 tx_ttnews tx_ttnews_catmenu tx_ttnews_itemsProcFunc tx_ttnews_tcemain tx_ttnews_treeview tx_veguestbook_pi1
tx_macinabanners_pi1 tx_ricrotation_pi1 tx_rlmptmplselector tx_rlmptmplselector_pi1 tx_jwcalendar_pi1 tx_kbmailcs_formMailCharset
/C8"Objects and Markers"
** CR_
** obj
** EXT:
_CSS_DEFAULT_STYLE _DEFAULT_PI_VARS _GIFBUILDER _LOCAL_LANG
ACT ACTIFSUB ACTIFSUBRO ACTRO
CARRAY CASE CLEARGIF COA COA_INT COBJ_ARRAY COLUMNS CONFIG CONSTANTS CONTENT CTABLE CType CUR CURIFSUB CURIFSUBRO CURRO
DB DOCUMENT_BODY
EDITPANEL EFFECT
FE_DATA FE_TABLE FEData FILE FORM FRAME FRAMESET
GIFBUILDER global globalString globalVar GMENU GMENU_FOLDOUT GMENU_LAYERS GP
HMENU HRULER HTML
IENV IFSUB IFSUBRO IMAGE IMG_RESOURCE IMGMENU IMGMENUITEM IMGTEXT INCLUDE_TYPOSCRIPT includeLibs
JSMENU JSMENUITEM
LIT LOAD_REGISTER
META MULTIMEDIA
NO
OTABLE
PAGE PAGE_TARGET PAGE_TSCONFIG_ID PAGE_TSCONFIG_IDLIST PAGE_TSCONFIG_STR PHP_SCRIPT PHP_SCRIPT_EXT PHP_SCRIPT_INT
RECORDS REMOTE_ADDR RESTORE_REGISTER RO RTE
SEARCHRESULT SHARED
TCAdefaults TCEFORM TCEMAIN TEMPLATE TEXT TMENU TMENU_LAYERS TMENUITEM TSFE
USER USER_INT userFunc USERDEF1 USERDEF1RO USERDEF2 USERDEF2RO USR USRRO
XY