So, es ist soweit: die BB-Tags zum highlighten sind eingebaut.
es gibt momentan drei Varianten:
> ohne highlighting, Code wird als Pleintext dargestellt
> für Pascal
> für SQL-Quelltext[/code]
Beispiele:
Code: Alles auswählen
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs;
type
TForm1 = class(TForm)
private
{ private declarations }
public
Code: Alles auswählen
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs;
type
TForm1 = class(TForm)
private
{ private declarations }
public
{ public declarations }
end;
var
Form1: TForm1;
implementation
initialization
{$I unit1.lrs}
end.
ein längeres Beispiel gibts hier, hab mal den BBCode ergänzt:
http://www.monta-n.net/lazarusforum/viewtopic.php?p=871#871
Code: Alles auswählen
CREATE TABLE HISTORY (
VERSION CHAR(10),
UPDATES VARCHAR(20)
);
Im Beitragseditor sind ja auch die neuen Varianten zu finden.
Mit Pascal und SQL sollte man erstmal gut auskommen.
Änderungswünsche können natürlich gerne gemacht werden.
Wer es testen will, kann es gleich hier im Tread machen.