Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2001-06

how to set lazarus to work on RedHat 7.0

10 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Joao Paulo Schwarz Schuler
to Marius Popa: i have the last lazarus.zip from ftp and i try to build with the form empty (with no…
Show quoted text 7 lines
i have the last lazarus.zip from ftp and i try to build with the form empty (with no controls on it ) but it says in the compiler messages (form ) :can't find unit CONTROLS maybe i have to write in the ppc386.cfg something ??

1) Find the "path" of the unit Controls.
2) Insert the "path" on the ~/.ppc386.cfg or
where is your ppc386.cfg:
-Fupath
---------------------------------
Joao Paulo Schwarz Schuler
http://www.schulers.com/jpss

Reply by email

Marius Popa
to Joao Paulo Schwarz Schuler

Gues what is the best code editor ?
Whell the final answer is .............:
Lazarus ;o)
This is what i use and i want to learn ...
Eat You'r own dog food said someone from RedHat (use what you build so you can improove ) Shure lazarus is not mine but i can learn what is behind an ide or rad Still i have problems compiling projects but for writing pascal code is good the only thing that annoy (make me mad ) is i'can't change the colors and to many windows on my taskbar like in gimp ( i like twilight in delphi because is like in terminal mode and hate to have white editors like word ,notepad coze heart my eyes {i have crt monitor;( ...}) by the way if i change the source code of lazarus (for example i add twilight colors) can i cvs back the code ???
or make a diff and send the pach ???

Show quoted text 12 lines
Which is the best pascal code editor for linux? Which code editor are you using? --------------------------------- Joao Paulo Schwarz Schuler http://www.schulers.com/jpss _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Mattias Gaertner
to Joao Paulo Schwarz Schuler: 1) Find the "path" of the unit Controls. 2) Insert the "path" on the ~/.ppc386.cfg or…
Marius Popa wrote
the only thing that annoy (make me mad ) is i'can't change the colors

There was a bug in the color selection. I fixed that (in cvs). Please try again.

and to many windows on my taskbar like in gimp

And many other programs... . This depends on your windowmanager. The Gnome deskguide applet does not have the problem. But I'm still searching for a solution for KDE.

i like twilight in delphi because is like in terminal mode and hate to have white editors like word ,notepad coze heart my eyes {i have crt monitor;( ...}) by the way if i change the source code of lazarus (for example i add twilight colors) can i cvs back the code ??? or make a diff and send the pach ???

As Shane mentioned:
Just change in editoroptions.pp the default settings of

procedure TEditorOptions.ReadAttribute(Attri:TSynHighlightElement);

and send me the code. I will add the Twilight Color scheme.

Mattias

Reply by email

Mattias Gaertner
to Joao Paulo Schwarz Schuler: 1) Find the "path" of the unit Controls. 2) Insert the "path" on the ~/.ppc386.cfg or…
Marius Popa wrote 6 lines
I have atached the body (begin ...end) of the procedure TEditorOptions.ReadAttribute(Attri:TSynHighlightElement); with the modifications for the Twilight Color scheme the only thing that remains is the modifying combobox for the changing the Default Scheme

I have added the Twilight color scheme to editor options.

Mattias Gaertner

Reply by email

Marius Popa

i have the last lazarus.zip from ftp
and i try to build with the form empty
(with no controls on it )
but it says in the compiler messages (form )
:can't find unit CONTROLS
maybe i have to write in the ppc386.cfg
something ??
i tried to put in fpcsource :/root/laz_last/lazarus but nothing because if i build from the comand line with make the examples is working but i want to do the design and the building from inside the ide

Reply by email

Michal Bukovjan
to Joao Paulo Schwarz Schuler: 1) Find the "path" of the unit Controls. 2) Insert the "path" on the ~/.ppc386.cfg or…

Sure, you can make a diff and send it back to any of the maintainers ! That's about the open source is all about :-)

Michal

Marius Popa wrote 40 lines
Gues what is the best code editor ? Whell the final answer is .............: Lazarus ;o) This is what i use and i want to learn ... Eat You'r own dog food said someone from RedHat (use what you build so you can improove ) Shure lazarus is not mine but i can learn what is behind an ide or rad Still i have problems compiling projects but for writing pascal code is good the only thing that annoy (make me mad ) is i'can't change the colors and to many windows on my taskbar like in gimp ( i like twilight in delphi because is like in terminal mode and hate to have white editors like word ,notepad coze heart my eyes {i have crt monitor;( ...}) by the way if i change the source code of lazarus (for example i add twilight colors) can i cvs back the code ??? or make a diff and send the pach ??? On Thu, 14 Jun 2001 17:31:34 +0000 "Joao Paulo Schwarz Schuler" wrote: > Which is the best pascal code editor >for linux? Which code editor are you using? >--------------------------------- >Joao Paulo Schwarz Schuler >http://www.schulers.com/jpss > > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Shane Miller
to Joao Paulo Schwarz Schuler: 1) Find the "path" of the unit Controls. 2) Insert the "path" on the ~/.ppc386.cfg or…

If you make changes, for now just post a diff file.

Shane

Earlier message 52 lines
----- Original Message ----- From: "Marius Popa" To: Sent: Friday, June 15, 2001 4:28 PM Subject: Re: [lazarus] Pascal Code Editor > Gues what is the best code editor ? > Whell the final answer is .............: > Lazarus ;o) > This is what i use and i want to learn ... > Eat You'r own dog food said someone from RedHat (use what you build so you can improove ) > Shure lazarus is not mine but i can learn what is behind an ide or rad > Still i have problems compiling projects but for writing pascal code is good > the only thing that annoy (make me mad ) is i'can't change the colors and to many windows on my taskbar like in gimp ( > i like twilight in delphi because is like in terminal mode and hate to have white editors like word ,notepad coze heart my eyes {i have crt monitor;( ...}) > by the way if i change the source code of lazarus (for example i add twilight colors) > can i cvs back the code ??? > or make a diff and send the pach ??? > > > > > > > > On Thu, 14 Jun 2001 17:31:34 +0000 > "Joao Paulo Schwarz Schuler" wrote: > > > Which is the best pascal code editor > > for linux? Which code editor are you using? > > --------------------------------- > > Joao Paulo Schwarz Schuler > > http://www.schulers.com/jpss > > > > > > _________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.miraclec.com/list_archives/lazarus > > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Marius Popa
to Joao Paulo Schwarz Schuler: 1) Find the "path" of the unit Controls. 2) Insert the "path" on the ~/.ppc386.cfg or…

I have atached the body (begin ...end)
of the procedure TEditorOptions.ReadAttribute(Attri:TSynHighlightElement); with the modifications
for the Twilight Color scheme
the only thing that remains is the modifying
combobox for the changing the Default Scheme

Show quoted text 13 lines
Just change in editoroptions.pp the default settings of procedure TEditorOptions.ReadAttribute(Attri:TSynHighlightElement); and send me the code. I will add the Twilight Color scheme. Mattias _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus
procedure TEditorOptions.ReadAttribute(Attri:TSynHighlightElement);
var b:boolean;
  fs:TFontStyles;
  AttriName:string;
  a:integer;
  DefBGCol,DefFGCol:TColor;
  DefFontStyles:TFontStyles;
begin
  AttriName:=Attri.Name;
  DefFGCol:=clNone;
  DefBGCol:=clNone;
  DefFontStyles:=[];
  if ColorScheme ='Twilight'  then
  begin
   DefBGCol:=clBlack;
   DefFGCol:=clWhite;
   if AttriName='Assembler' then begin
    DefFGCol:=clLime;
   end else if AttriName='Comment' then begin
    DefFGCol:=clGray;
   end else if AttriName='Reserved word' then begin
    DefFGCol:=clAqua;
    DefFontStyles:=[fsBold];
   end else if AttriName='Number' then begin
      DefFGCol:=clFuchsia;
   end else if AttriName='String' then begin
     DefFGCol:=clYellow;
   end else if AttriName='Symbol' then begin
     DefFGCol:=clAqua;
   end else if AttriName=AdditionalHiglightAttributes[0] then begin
     DefBGCol:=clWhite;
     DefFGCol:=clBlack
   end else if AttriName=AdditionalHiglightAttributes[1] then begin
     DefBGCol:=clBlue;
     DefFGCol:=clWhite;
   end else if AttriName=AdditionalHiglightAttributes[2] then begin
     DefBGCol:=clRed;
     DefFGCol:=clWhite;
   end else if AttriName=AdditionalHiglightAttributes[3] then begin
     DefBGCol:=clLime;
     DefFGCol:=clRed;
   end else if AttriName=AdditionalHiglightAttributes[4] then begin
     DefBGCol:=$50a0ff;
     DefFGCol:=clBlack;
   end;
   end
  else
  begin
  if AttriName='Assembler' then begin
    DefFGCol:=clGreen;
  end else if AttriName='Comment' then begin
    DefFGCol:=clBlue;
    DefFontStyles:=[fsBold];
  end else if AttriName='Reserved word' then begin
    DefFontStyles:=[fsBold];
  end else if AttriName='Number' then begin
    DefFGCol:=clNavy;
  end else if AttriName='String' then begin
    DefFGCol:=clBlue;
  end else if AttriName='Symbol' then begin
    DefFGCol:=clRed;
  end else if AttriName=AdditionalHiglightAttributes[0] then begin
    DefBGCol:=clNavy;
    DefFGCol:=clWhite;
  end else if AttriName=AdditionalHiglightAttributes[1] then begin
    DefBGCol:=clDKGray;
    DefFGCol:=clWhite;
  end else if AttriName=AdditionalHiglightAttributes[2] then begin
    DefBGCol:=clRed;
    DefFGCol:=clBlack;
  end else if AttriName=AdditionalHiglightAttributes[3] then begin
    DefBGCol:=clGreen;
    DefFGCol:=clBlack;
  end else if AttriName=AdditionalHiglightAttributes[4] then begin
    DefBGCol:=$50a0ff;
    DefFGCol:=clBlack;
  end;
  end;
  for a:=1 to length(AttriName) do
    if (not (AttriName[a] in ['a'..'z','A'..'Z'])) then
      AttriName[a]:='_';
  Attri.BackGround:=XMLConfig.GetValue(
    'EditorOptions/Color/'+ColorScheme+'/'+AttriName+'/BackgroundColor',DefBGCol);
  Attri.ForeGround:=XMLConfig.GetValue(
    'EditorOptions/Color/'+ColorScheme+'/'+AttriName+'/ForegroundColor',DefFGCol);
  fs:=[];
  b:=XMLConfig.GetValue(
    'EditorOptions/Color/'+ColorScheme+'/'+AttriName+'/Bold'
    ,fsBold in DefFontStyles);
  if b then fs:=fs+[fsBold];
  b:=XMLConfig.GetValue(
    'EditorOptions/Color/'+ColorScheme+'/'+AttriName+'/Italic'
    ,fsItalic in DefFontStyles);
  if b then fs:=fs+[fsItalic];
  b:=XMLConfig.GetValue(
    'EditorOptions/Color/'+ColorScheme+'/'+AttriName+'/Underline'
    ,fsUnderLine in DefFontStyles);
  if b then fs:=fs+[fsUnderline];
  Attri.Style:=fs;
end;

Reply by email