Autor Beitrag
Nightmare_82
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 260



BeitragVerfasst: Sa 06.12.03 04:45 
Weiß zufällig jemand, wie ich Begriffe in Delphi hinzufügen kann, die dann als reserviertes Wort wie for, begin etc. erkannt werden?

Ich würde gerne Sachen wie Boolean, Integer etc. im Quellcode hervorheben.
Raphael O.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1596


VS 2013
BeitragVerfasst: Sa 06.12.03 13:09 
im Quelltext Rechtsklick-Eigenschaften->Reiter "Farben"

bei mir sehen die Einstellungen da so aus:
Strings sind grün hinterlegt (schrift schwarz)
Kommentare gelb hinterlegt

ich bin mir nicht sicher ob du das gemeint hast oder die Begriffe "Integer" und "boolean" an sich, aber mal sehn ;)
Nightmare_82 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 260



BeitragVerfasst: Sa 06.12.03 15:39 
das meinte ich eigentlich nicht, diese Einstellungen hatte ich gestern bei mir geändert. Ich würde nur gerne selbst Begriffe hinzufügen können, die dann als rservierte Wörter erkannt werden. Integer und Boolean z.B. gehören ja nicht zu den reservierten Wörtern, ich fände so eine Funktion aber ganz praktisch.
Beim VisualStudio z.B. gibt es eine Datei, wo man eigene Wörter hinzufügen kann, die dann fettgedruckt werden. Das geht bestimmt auch in Delphi, nur wahrscheinlich nicht über offiziele Einstellungen, sondern über das Ändern einer Datei.
Trotzdem danke für die Antwort.
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Mo 08.12.03 11:35 
Hallo!

Ich habe von so einer Möglichkeit noch nicht gehört. Soll aber nicht heißen das es so eine nicht gibt.

Gruß
Tino
Nightmare_82 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 260



BeitragVerfasst: Mo 08.12.03 11:57 
Schade... Ist es kompliziert ein Add-Inn dafür zu schreiben?
Ich habe mich bis jetzt noch nicht mit dem Thema beschäftigt, ich habe nur mal einen Artikel überflogen.