| Geschrieben um 21:52 am 20.01.2005 | Zitat | Editieren | Löschen | |
Mitglied Pupil Gumby Beiträge: 17 | <td valign="top"><div class="post"><p>Jaa!!! Es ist da!!! Ich, der einfache Hobbyprogrammierer habe ein Syntaxhighlighter für T.A.G. Source Code Dateien erstellt.</p> <p>WIE INSTALLIEREN???</p> <p>Einfach den Code am Ende des Beitrags in eine leere Datei kopieren, als “tag.sch” im Ordner “syntaxschemes” abspeichern. Gehighlightet werden Schlüsselwörter wie “wenn”, “sei” oder “Obj” und die Standartbefehle aus dem Handbuch. schaut’s euch einfach mal an</p> <p>“`object TPersHolder</p> <p> P.Name = ‘T.A.G. Source File’</p> <p> P.SyntaxBlocks = <</p> <p> item</p> <p> Name = ‘Default’</p> <p> ID = 0</p> <p> FIIntNum = 4</p> <p> FIFloatNum = 5</p> <p> FIHexNum = 6</p> <p> UseComments = True</p> <p> UseSingleLineComments = True</p> <p> UseMultiLineComments = True</p> <p> UseStrings = True</p> <p> UseMultiLineStrings = True</p> <p> UseNumbers = True</p> <p> UseKeywords = True</p> <p> BlockDelimiters = <></p> <p> SingleLineCommentDelimiters = <</p> <p> item</p> <p> FontID = 1</p> <p> LeftDelimiter = ‘!’</p> <p> end</p> <p> item</p> <p> FontID = 11</p> <p> LeftDelimiter = ‘#’</p> <p> end></p> <p> MultiLineCommentDelimiters = <</p> <p> item</p> <p> FontID = 2</p> <p> LeftDelimiter = ‘/*’</p> <p> RightDelimiter = ‘*/’</p> <p> end></p> <p> MultiLineStringDelimiters = <</p> <p> item</p> <p> FontID = 3</p> <p> LeftDelimiter = #39</p> <p> RightDelimiter = #39</p> <p> end></p> <p> KeywordSets = <</p> <p> item</p> <p> FontID = 8</p> <p> Name = ‘bezeichner’</p> <p> Keywords =</p> <p> ‘*,Adj,Aktion,Antw,Anz,Attr,Ausf,Bed,Bef,BefVar,Besch,Dabei,dann,’ +</p> <p> ‘Daran,Darauf,Darin,Deko,Ende,EndeAusf,Erst,Feld,Flagge,Gew,InBes’ +</p> <p> ‘ch,Integer,Konst,Nachausf,Name,Obj,ObjAttr,ObjVar,oder,Ort,Plura’ +</p> <p> ‘l,Pr’#228’p,Pseudo,Raum,RaumAttr,RaumVar,RitgVar,sonst,Std,String,Sub’ +</p> <p> ‘st,Synonym,Syntax,Text,und,Var,Vol,Vor,VorAusf,VorReakt,Weg,wenn’ +</p> <p> ‘,Zust,ZustVar’</p> <p> end</p> <p> item</p> <p> FontID = 7</p> <p> Name = ‘Befehle’</p> <p> Keywords =</p> <p> ‘AttrDazu,AttrHin,AttrWeg,Ausf,Auswahl,Box,GeheZu,InhListe,JaNein’ +</p> <p> ‘,MutterObj,ObjGew,ObjInh,ObjListe,ObjNach,ObjPunkte,ObjZust,Puff’ +</p> <p> ‘er,Punkte,RaumPunkte,SeiRaum,SeiRitg,SetzeZeit,StammObj,StammRau’ +</p> <p> ‘m,Tausche,WarteZeit,Zufallstext’</p> <p> end</p> <p> item</p> <p> FontID = 9</p> <p> Name = ‘Sonderbefehle’</p> <p> Keywords = ‘Absatz,Gestorben,Gewonnen,Stop,Text’</p> <p> end</p> <p> item</p> <p> FontID = 10</p> <p> Name = ‘Variablenzuweisung’</p> <p> Keywords =</p> <p> ‘Belege,Daten,Dekr,Div,FeldPos,Inkr,Lese,Mod,Mult,Sei,SeiBed,Setz’ +</p> <p> ‘e,Zufall’</p> <p> end></p> <p> end></p> <p> P.FontTable = <</p> <p> item</p> <p> FontID = 1</p> <p> Font.Charset = DEFAULT_CHARSET</p> <p> Font.Color = clSilver</p> <p> Font.Height = -13</p> <p> Font.Name = ‘Courier New’</p> <p> Font.Style = [fsItalic]</p> <p> end</p> <p> item</p> <p> FontID = 2</p> <p> Font.Charset = DEFAULT_CHARSET</p> <p> Font.Color = clSilver</p> <p> Font.Height = -13</p> <p> Font.Name = ‘Courier New’</p> <p> Font.Style = [fsItalic]</p> <p> end</p> <p> item</p> <p> FontID = 3</p> <p> Font.Charset = DEFAULT_CHARSET</p> <p> Font.Color = clOlive</p> <p> Font.Height = -13</p> <p> Font.Name = ‘Courier New’</p> <p> Font.Style = []</p> <p> end</p> <p> item</p> <p> FontID = 4</p> <p> Font.Charset = DEFAULT_CHARSET</p> <p> Font.Color = clGreen</p> <p> Font.Height = -13</p> <p> Font.Name = ‘Courier New’</p> <p> Font.Style = []</p> <p> end</p> <p> item</p> <p> FontID = 5</p> <p> Font.Charset = DEFAULT_CHARSET</p> <p> Font.Color = clGreen</p> <p> Font.Height = -13</p> <p> Font.Name = ‘Courier New’</p> <p> Font.Style = []</p> <p> end</p> <p> item</p> <p> FontID = 6</p> <p> Font.Charset = DEFAULT_CHARSET</p> <p> Font.Color = clGreen</p> <p> Font.Height = -13</p> <p> Font.Name = ‘Courier New’</p> <p> Font.Style = []</p> <p> end</p> <p> item</p> <p> FontID = 8</p> <p> Font.Charset = DEFAULT_CHARSET</p> <p> Font.Color = clRed</p> <p> Font.Height = -13</p> <p> Font.Name = ‘Courier New’</p> <p> Font.Style = [fsBold]</p> <p> end</p> <p> item</p> <p> FontID = 7</p> <p> Font.Charset = DEFAULT_CHARSET</p> <p> Font.Color = clBlue</p> <p> Font.Height = -13</p> <p> Font.Name = ‘Courier New’</p> <p> Font.Style = [fsBold]</p> <p> end</p> <p> item</p> <p> FontID = 9</p> <p> Font.Charset = DEFAULT_CHARSET</p> <p> Font.Color = clGray</p> <p> Font.Height = -13</p> <p> Font.Name = ‘Courier New’</p> <p> Font.Style = [fsBold]</p> <p> end</p> <p> item</p> <p> FontID = 10</p> <p> Font.Charset = DEFAULT_CHARSET</p> <p> Font.Color = clFuchsia</p> <p> Font.Height = -13</p> <p> Font.Name = ‘Courier New’</p> <p> Font.Style = [fsBold]</p> <p> end</p> <p> item</p> <p> FontID = 11</p> <p> Font.Charset = DEFAULT_CHARSET</p> <p> Font.Color = clBlack</p> <p> Font.Height = -13</p> <p> Font.Name = ‘Courier New’</p> <p> Font.Style = [fsItalic]</p> <p> end></p> <p> P.SyntaxVersion = 3</p> <p>end“`</p> </div></td> |
| Geschrieben um 01:46 am 21.01.2005 | Zitat | Editieren | Löschen | |
Mitglied Dr Gumby Beiträge: 275 | Hehe. Schön, herzlichen Glückwunsch. Wir hätten vielleicht alle mehr davon, wenn du uns noch verraten würdest, für welchen Editor das jetzt ist. |
| Geschrieben um 10:08 am 21.01.2005 | Zitat | Editieren | Löschen | |
Mitglied Retired Gumby Beiträge: 707 | ChrisW:
Na, für Uli Meybohms Proton natürlich, das sieht man doch. (Sag mir, wie deine Syntaxhighlighing-Datei aussieht, und ich sage dir, welchen Editor du benutzt. :-) Im unteren Teil der Seite Nützliches für T.A.G. wird übrigens schon ein Syntaxhighlighting für Proton und drei andere Editoren angeboten. |
| Geschrieben um 16:13 am 21.01.2005 | Zitat | Editieren | Löschen | |
Mitglied Pupil Gumby Beiträge: 17 | Sch*** Mi** Verd**** Das ist so eine sch****e, welcher w****er klaut mir da meine Ideen? Wer sich angesprochen fühlt, es tut mir leid Schwamm drüber! :-) |