![]() |
Syntax-Highlighting bei Delphi-Source
Hallo!
Ich würde es schick finden, wenn der Pascal-Highlighter beim erweiterten Texteditor die Keywords in Fettschrift hervorheben würde. Das ist eigentlich bei den meisten Editoren einschließlich Delphi die Standard-Einstellung. Grüße Cody EDIT: Hier mal die "computed styles" für den HTML-Quelltext, wie er von Dragonfly ausgegeben wird. Für Keywords:
Code:
Für alles andere:
align-content: stretch;
align-items: stretch; align-self: stretch; color: #191970; column-gap: 12px; flex: 0 1 auto; flex-basis: auto; flex-direction: row; flex-flow: row; flex-grow: 0; flex-shrink: 1; flex-wrap: nowrap; font: normal normal 700 11.7px/normal Consolas; justify-content: flex-start; order: 0; resize: none; text-align: left; white-space: normal; width: 63px;
Code:
Die entscheidende Zeile ist
-o-transform-origin: 516.5px 56px;
-webkit-transform-origin: 516.5px 56px; align-content: stretch; align-items: stretch; align-self: stretch; border-left: 4px solid #CCCCCC; column-gap: 12px; display: block; flex: 0 1 auto; flex-basis: auto; flex-direction: row; flex-flow: row; flex-grow: 0; flex-shrink: 1; flex-wrap: nowrap; font: normal normal 400 11.7px/normal Consolas; height: 112px; justify-content: flex-start; order: 0; overflow: auto; padding: 0px 0px 0px 3px; resize: none; text-align: left; transform-origin: 516.5px 56px; white-space: normal; width: 1026px;
Code:
bzw.
font: normal normal 700 11.7px/normal Consolas;
Code:
Vielleicht sollte man die CSS-Differenzierung etwas weiter spreizen, z.B. 300 zu 900. Könnte auch sein, dass es an der seltsamen Schriftgröße liegt - Zehntelpixel sind eigentlich kein gültiger Zahlenwert.
font: normal normal 400 11.7px/normal Consolas;
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:30 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz