Autor Beitrag
neffets
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 29



BeitragVerfasst: Fr 25.05.07 22:00 
Ich möchte zu besseren Strukturierung Teile des Programmcodes makieren und als Blockk einrücken.
In Pascal gab es eine solche Möglichkeit, die ich in Delphi nicht finde.
Oder gibt es die doch?

Grüße


Moderiert von user profile iconGausi: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Fr 25.05.2007 um 22:04
Ralf Jansen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 4708
Erhaltene Danke: 991


VS2010 Pro, VS2012 Pro, VS2013 Pro, VS2015 Pro, Delphi 7 Pro
BeitragVerfasst: Fr 25.05.07 22:02 
STRG+K+I = indent
STRG+K+U = unindent

Gruß
JüTho
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2021
Erhaltene Danke: 6

Win XP Prof
C# 2.0 (#D für NET 2.0, dazu Firebird); früher Delphi 5 und Delphi 2005 Pro
BeitragVerfasst: Sa 26.05.07 10:59 
Ich hatte auch schon einmal eine Version mit kürzerem Verfahren:

STRG + I = indent
STRG + U = unindent

Am besten ausprobieren!

Gruß Jürgen

PS. Bei #D wird mit Strg+I die Einrückung des markierten Bereichs vollständig aktualisiert.
neffets Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 29



BeitragVerfasst: Sa 26.05.07 20:56 
Mit Strg+I läßt sich nur jeweils eine Zeile beeinflussen.
In Pascal gibt es jeweils eine Tastenkombination mit der Anfang und das Ende des einzurückenden Blockes markiert wird; und dann mit STRG+I (?) der gesamte Blck eingerückt wird.
Gruß
Michael
Danniolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 693



BeitragVerfasst: Sa 26.05.07 21:31 
user profile iconneffets hat folgendes geschrieben:

In Pascal gibt es jeweils eine Tastenkombination mit der Anfang und das Ende des einzurückenden Blockes markiert wird; und dann mit STRG+I (?) der gesamte Blck eingerückt wird.
Gruß
Michael


ja, wie anfangs schon gesagt:

user profile iconRalf Jansen hat folgendes geschrieben:
STRG+K+I = indent
STRG+K+U = unindent


;)
neffets Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 29



BeitragVerfasst: Mo 28.05.07 09:03 
Sorry, Du hattest recht.
Die Tastenkombination funktioniert
Danke

Michael
Dusty
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 62

Windows XP
Delphi 5 Enterprise
BeitragVerfasst: Mi 17.12.08 01:45 
Irgendwie ging das auch mal mit Strg-Shift-I. Kann man das irgendwo einstellen?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 17.12.08 02:02 
Ich kann nur die CnPack IDE Wizards empfehlen:
cnpack.org/index.php?lang=en
Einrücken geht dann mit Block markieren und Tab bzw. Shift + Tab, zudem werden zugehörige begin..end Abschnitte etc. farblich hervorgehoben, ebenso das zusammengehörige Klammerpaar, wenn man mit dem Textcursor an einer Klammer ist.

Und noch vieles mehr ist dabei.