Autor Beitrag
MrSaint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1033
Erhaltene Danke: 1

WinXP Pro SP2
Delphi 6 Prof.
BeitragVerfasst: Fr 26.01.07 23:29 
Hallo!

Gerade hier entdeckt: Der String geht über die Zeile hinweg!

ausblenden C#-Quelltext
1:
2:
irgendeineMethode("E:\");
nochEineMethode();



MrSaint

_________________
"people knew how to write small, efficient programs [...], a skill that has subsequently been lost"
Andrew S. Tanenbaum - Modern Operating Systems
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Fr 26.01.07 23:40 
Ich verweise auf:
www.delphi-forum.de/viewtopic.php?t=40285


EDIT: Ist zwar eine andere Art von Highlighting, aber im Allgemeinen das selbe.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
MrSaint Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1033
Erhaltene Danke: 1

WinXP Pro SP2
Delphi 6 Prof.
BeitragVerfasst: Fr 26.01.07 23:44 
Hmm.. für mich ist das ein anderer Bug, die anderen hängen ja alle mit dem highlight-Tag zusammen, meiner mit Strings. Wirklich beurteilen kann das dann aber wohl Christian :)

_________________
"people knew how to write small, efficient programs [...], a skill that has subsequently been lost"
Andrew S. Tanenbaum - Modern Operating Systems
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Fr 26.01.07 23:46 
Hallo!

Das einzige, was da nicht stimmt, ist, dass der String auch noch in die nächste Zeile geht. Dass er nicht am " endet, ist korrekt, das tut er auch im Visual Studio nicht. Ein Bug, der aber im Testforum behoben ist, ist das ignorieren eines @ vorm String, der dieser Verhalten im VS und im Forum verhindern sollte.

Grüße
Christian

P.S.: Nope, das hat nix mit den Highlight-Tags zu tun ;-)

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".