Einzelnen Beitrag anzeigen

Benutzerbild von pustekuchen
pustekuchen

Registriert seit: 27. Aug 2010
265 Beiträge
 
Delphi 11 Alexandria
 
#15

AW: Anweisungen, Schleifen etc. einklappen?

  Alt 20. Okt 2010, 13:07
Zitat:
Will you please add method folding and other custom painting to the IDE's code editor?

The functionality necessary to hide code lines is not surfaced by the Borland Open Tools API, and it would be unsafe and extremely complicated to implement without help from the IDE. Custom painting in the code editor isn't supported by the OTA either, so it requires low level hacking (windows hooks, runtime VMT patching, etc.) that is fairly error-prone and can slow down editing actions considerably, so as of yet nobody on the GExperts team has looked into this. Feel free to send us code contributions toward these features, but since code folding is present in Delphi 8 and greater, that feature is probably not worth implementing at this point.
Weil das nicht klappt, macht man es dann so:

Delphi-Quellcode:
{$REGION 'MeineRegion'}
//Quelltext
{$ENDREGION}
  Mit Zitat antworten Zitat