[Lazarus] Additional compiler config file is ignored by IDE

2010-05-25 Thread Graeme Geldenhuys
Hi, I wanted to use the additional compiler config file to enable multiple build modes (Release, Debug etc). The setting is found at: Project Options Compiler Options Other I have tried the following values with and without the $(ProjPath) macro, and the Lazarus IDE doesn't seem to used the

Re: [Lazarus] Additional compiler config file is ignored by IDE

2010-05-25 Thread Vincent Snijders
Graeme Geldenhuys schreef: Hi, I wanted to use the additional compiler config file to enable multiple build modes (Release, Debug etc). The setting is found at: Project Options Compiler Options Other I have tried the following values with and without the $(ProjPath) macro, and the Lazarus

Re: [Lazarus] Additional compiler config file is ignored by IDE

2010-05-25 Thread Graeme Geldenhuys
On 25 May 2010 10:01, Vincent Snijders wrote: What does Show options give? Exactly what I entered into the edit field. When a macro is used, it doesn't expand the macro either. When I entered the full path (/home/graemeg//debug_build.cfg) it makes no difference either. The compiler options

Re: [Lazarus] Additional compiler config file is ignored by IDE

2010-05-25 Thread Vincent Snijders
Graeme Geldenhuys schreef: On 25 May 2010 10:01, Vincent Snijders wrote: What does Show options give? Exactly what I entered into the edit field. When a macro is used, it doesn't expand the macro either. When I entered the full path (/home/graemeg//debug_build.cfg) it makes no difference

Re: [Lazarus] component installation failure

2010-05-25 Thread Mattias Gaertner
On Tue, 25 May 2010 05:40:40 +0200 Marc Santhoff m.santh...@web.de wrote: Hi, having not made any visual components since Delphi2 I have to ask: 1. When I want to install a visual component to lazarus, does it need to have a package file (.lpk) or is the classic way of installing from

Re: [Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting case]

2010-05-25 Thread Jürgen Hestermann
This was already and always the case. any identifier, char, number is/was highlighted the same never mind if it is in a case label, an assignment, an expression . Yes, and I think it should not be changed. The question was, if a case label (any case-label, never mind it being a number,

Re: [Lazarus] Additional compiler config file is ignored by IDE

2010-05-25 Thread Graeme Geldenhuys
On 25 May 2010 10:13, Vincent Snijders wrote: And if you copy the options in Show options to a command line after the compiler path, what happens then? OK, I finally figured out the problem. My *.cfg files had one line in them listing all the compiler parameters one after the other. Lazarus

Re: [Lazarus] Additional compiler config file is ignored by IDE

2010-05-25 Thread Mattias Gaertner
On Tue, 25 May 2010 11:06:53 +0200 Graeme Geldenhuys graemeg.li...@gmail.com wrote: On 25 May 2010 10:13, Vincent Snijders wrote: And if you copy the options in Show options to a command line after the compiler path, what happens then? OK, I finally figured out the problem. My *.cfg

Re: [Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting case]

2010-05-25 Thread Mattias Gaertner
On Tue, 25 May 2010 10:36:30 +0200 Jürgen Hestermann juergen.hesterm...@gmx.de wrote: [...] I always follow a strict indentation rule (each block is indented by 3 characters, matching BEGINs and ENDs are either on the same line or are aligned in the same column, all commands of a block start

Re: [Lazarus] Structured info on class watch

2010-05-25 Thread Michael Schnell
On 05/21/2010 05:04 PM, Martin wrote: like pressing F7 (evaluation dialog) and selecting inspect there ? Here, Ctr-F7 is evaluate (but does not work as ctrl-F? is captured by KDE for switch Desktop, but of course I can use the context menu or change the hotkey). But now inspect just takes me

Re: [Lazarus] fpWeb Apache2 Windows

2010-05-25 Thread Joost van der Sluis
On Sun, 2010-05-23 at 23:13 -0300, Leonardo Rame wrote: Hi Michael, thanks for replying. I created a basic example called 'cgiproject1' consisting of only an TFPWebModule's OnRequest method like this, with no action: procedure TFPWebModule1.DataModuleRequest(Sender: TObject; ARequest:

Re: [Lazarus] Suggestion: Remove GTK1 support from IDE and LCL.

2010-05-25 Thread Michael Schnell
On 05/22/2010 01:45 PM, Mark Morgan Lloyd wrote: I usually use VNC for other reasons. I've checked x86, SPARC and PowerPC (Mac), in all cases running Linux. Did anybody try using VNC to remote-control a Lazarus (GTK2) application running on Arm-Linux ? Thanks, -Michael --

Re: [Lazarus] Structured info on class watch

2010-05-25 Thread Michael Schnell
Especially as with bigger structured objects, not all values are visible and scrolling in a Hint seems impossible. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] editor colors changed drastically

2010-05-25 Thread Martin
On 25/05/2010 04:19, Marc Santhoff wrote: Hi, I've updated lazarus from svn coming from version 25285 to 25631 and now the editor colors are not shown as expected. The color scheme used is Pascal Classis with backgrounds redefined to navy instead of blue. With this version the changed color is

Re: [Lazarus] Structured info on class watch

2010-05-25 Thread Martin
On 25/05/2010 11:19, Michael Schnell wrote: But now inspect just takes me to the Debug Inspector ans same just gives me a pointer value e.g. for Label1. What exactly did you suggest to see a structured view onto an object ? try dereferencing (^) (that is needed in many places anyway,

Re: [Lazarus] editor colors changed drastically

2010-05-25 Thread Martin
On 25/05/2010 12:20, Martin wrote: On 25/05/2010 04:19, Marc Santhoff wrote: Hi, I've updated lazarus from svn coming from version 25285 to 25631 and now the editor colors are not shown as expected. The color scheme used is Pascal Classis with backgrounds redefined to navy instead of blue.

[Lazarus] Regex and Syntax Highlighting

2010-05-25 Thread Graeme Geldenhuys
Hi, Does anybody know of a website or article I can read about how to integrate regular expressions with an editor to end up with a editor that can handle syntax highlighting. It doesn't need to be specific to Object Pascal (that would be too easy and ideal). ;-) For example, mcedit (from

Re: [Lazarus] Regex and Syntax Highlighting

2010-05-25 Thread Marco van de Voort
On Tue, May 25, 2010 at 02:34:15PM +0200, Graeme Geldenhuys wrote: And yes I was told before that using regex for syntax highlighting is slow, but I think that's a matter of implementation. The editors I have seen and used are more that fast enough even on large files. The huge benefit of

Re: [Lazarus] Structured info on class watch

2010-05-25 Thread Michael Schnell
On 05/25/2010 01:50 PM, Martin wrote: try dereferencing (^) (that is needed in many places anyway, since gdb has often no concept of the hidden pointers in pascal) With label1^ I in fact don't see anything useful With form1^ I see three methods (address given as ???) and Label1 with type and

Re: [Lazarus] Regex and Syntax Highlighting

2010-05-25 Thread Graeme Geldenhuys
On 25 May 2010 14:38, Marco van de Voort wrote: But the main problem IMHO is that regex is not suited to highlight many languages that require correct detection of matching tokens, like the Pascal nested comments. mcedit (editor part of Midnight Commander) supports 68 different file formats

Re: [Lazarus] Regex and Syntax Highlighting

2010-05-25 Thread João Marcelo Vaz
Hi Graeme, Have you seen Colorer-take5 on the following URL http://colorer.sourceforge.net/ ? It's cited in the tutorial you pointed at http://www.catch22.net/tuts/neatpad/18 . João Marcelo 2010/5/25 Graeme Geldenhuys graemeg.li...@gmail.com Hi, Does anybody know of a website or article I

[Lazarus] Write to root window?

2010-05-25 Thread Jon Foster
I imagine its possible but I haven't a clue to know even where to beg in looking. Is it possible to write to the root window in X (i386 Linux)? I'd like to manipulate some images and write them there. THX - Jon -- Jon Foster JF Possibilities, Inc. j...@jfpossibilities.com 541-410-2760 Making

Re: [Lazarus] Regex and Syntax Highlighting

2010-05-25 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: Does anybody know of a website or article I can read about how to integrate regular expressions with an editor to end up with a editor that can handle syntax highlighting. It doesn't need to be specific to Object Pascal (that would be too easy and ideal). ;-) I

Re: [Lazarus] Write to root window?

2010-05-25 Thread Vannus
On 25 May 2010 15:09, Jon Foster jon-li...@jfpossibilities.com wrote: I imagine its possible but I haven't a clue to know even where to beg in looking. Is it possible to write to the root window in X (i386 Linux)? I'd like to manipulate some images and write them there. THX - Jon i think i

Re: [Lazarus] Write to root window?

2010-05-25 Thread Graeme Geldenhuys
On 25 May 2010 16:09, Jon Foster wrote: I imagine its possible but I haven't a clue to know even where to beg in looking. Is it possible to write to the root window in X (i386 Linux)? I'd like to manipulate some images and write them there. No idea how to do it via LCL, but here is a small

Re: [Lazarus] fpWeb Apache2 Windows

2010-05-25 Thread Leonardo M.
El mar, 25-05-2010 a las 12:45 +0200, Joost van der Sluis escribió: On Sun, 2010-05-23 at 23:13 -0300, Leonardo Rame wrote: Hi Michael, thanks for replying. I created a basic example called 'cgiproject1' consisting of only an TFPWebModule's OnRequest method like this, with no action:

Re: [Lazarus] fpWeb Apache2 Windows

2010-05-25 Thread Joost van der Sluis
On Tue, 2010-05-25 at 12:35 -0300, Leonardo M. Ramé wrote: El mar, 25-05-2010 a las 12:45 +0200, Joost van der Sluis escribió: On Sun, 2010-05-23 at 23:13 -0300, Leonardo Rame wrote: Hi Michael, thanks for replying. I created a basic example called 'cgiproject1' consisting of only an

Re: [Lazarus] Structured info on class watch

2010-05-25 Thread Michael Fuchs
Michael Schnell schrieb: With label1^ I in fact don't see anything useful Try label1^.FCaption. hth Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] component installation failure

2010-05-25 Thread Marc Santhoff
Am Dienstag, den 25.05.2010, 10:22 +0200 schrieb Mattias Gaertner: On Tue, 25 May 2010 05:40:40 +0200 Marc Santhoff m.santh...@web.de wrote: Hi, having not made any visual components since Delphi2 I have to ask: 1. When I want to install a visual component to lazarus, does it

Re: [Lazarus] editor colors changed drastically

2010-05-25 Thread Marc Santhoff
Am Dienstag, den 25.05.2010, 12:53 +0100 schrieb Martin: On 25/05/2010 12:20, Martin wrote: On 25/05/2010 04:19, Marc Santhoff wrote: Hi, I've updated lazarus from svn coming from version 25285 to 25631 and now the editor colors are not shown as expected. The color scheme used is

Re: [Lazarus] Regex and Syntax Highlighting

2010-05-25 Thread Marcos Douglas
On Tue, May 25, 2010 at 9:34 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Hi, Does anybody know of a website or article I can read about how to integrate regular expressions with an editor to end up with a editor that can handle syntax highlighting. It doesn't need to be specific to

Re: [Lazarus] Regex and Syntax Highlighting

2010-05-25 Thread Zaher Dirkey
I beleave regex is not a good choice. If you compare the speed you will find SynEdit is more faster. I import it to make my syntax for my site using PHP i found my Highlighter is more faster (10 time) than the famous one (Geshi) that use the regex.

Re: [Lazarus] editor colors changed drastically

2010-05-25 Thread Martin
On 25/05/2010 18:57, Marc Santhoff wrote: Am Dienstag, den 25.05.2010, 12:53 +0100 schrieb Martin: On 25/05/2010 12:20, Martin wrote: On 25/05/2010 04:19, Marc Santhoff wrote: Hi, I've updated lazarus from svn coming from version 25285 to 25631 and now the editor colors are

Re: [Lazarus] Regex and Syntax Highlighting

2010-05-25 Thread Marco van de Voort
On Tue, May 25, 2010 at 03:14:01PM +0200, Graeme Geldenhuys wrote: syntax definition files to get the Object Pascal syntax correct for Free Pascal specific features I use and for my code. So this is clearly not so much of a problem and regex is sufficiently flexible for most (if not all)

Re: [Lazarus] fpWeb Apache2 Windows

2010-05-25 Thread Leonardo M.
El mar, 25-05-2010 a las 18:54 +0200, Joost van der Sluis escribió: On Tue, 2010-05-25 at 12:35 -0300, Leonardo M. Ramé wrote: El mar, 25-05-2010 a las 12:45 +0200, Joost van der Sluis escribió: On Sun, 2010-05-23 at 23:13 -0300, Leonardo Rame wrote: Hi Michael, thanks for replying.

Re: [Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting case]

2010-05-25 Thread Vladimir Zhirov
Graeme Geldenhuys wrote: Can anybody post a small screenshot of suggested highlighting? Here is what it looks like with my color settings (bold highlight). About the feature: Personally I turned it off, since for me indentation makes case-labels readable enough. But we could consider it to

Re: [Lazarus] component installation failure

2010-05-25 Thread Mattias Gaertner
On Tue, 25 May 2010 19:52:57 +0200 Marc Santhoff m.santh...@web.de wrote: [...] 2. When I make a package file for an ancient Delphi component to port to lazarus and it compiles and installs but doesnt show up in the IDE although it is found in the package list, what has gone wrong

Re: [Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting case]

2010-05-25 Thread Martin
On 25/05/2010 19:19, Vladimir Zhirov wrote: About the feature: Personally I turned it off, since for me indentation makes case-labels readable enough. But we could consider it to be ON by default not to go unnoticed by people who would like it. Those who don't like it can disable it forever in

Re: [Lazarus] Structured info on class watch

2010-05-25 Thread José Mejuto
Hello Lazarus-List, Tuesday, May 25, 2010, 2:51:34 PM, you wrote: MS With label1^ I in fact don't see anything useful MS With form1^ I see three methods (address given as ???) and Label1 with MS type and address as Data MS But nothing comparable to what the hint display shows. MS The hint

Re: [Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting case]

2010-05-25 Thread Krisztián Nagy
A vote for bold, as it is both readable and these constants also introduce a block of code like if...then, for...do or while...do which are reserved words - have the same highlighting as default, so this would be consistent (yet preserving the string/number/identifier highlighting) As I see, I'm

[Lazarus] User defined colorschemes

2010-05-25 Thread Martin
It is now possible to export the color settings to an XML file. Other users can drop this xml file into there primary_conf_path/userschemes/ folder (may need to be created) and the IDE will detect them at start. - Files can be renamed after export, the name for the scheme is kept to the

Re: [Lazarus] User defined colorschemes

2010-05-25 Thread Maxim Ganetsky
26.05.2010 1:50, Martin пишет: It is now possible to export the color settings to an XML file. Other users can drop this xml file into there primary_conf_path/userschemes/ folder (may need to be created) and the IDE will detect them at start. - Files can be renamed after export, the name for

Re: [Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting case]

2010-05-25 Thread waldo kitty
On 5/25/2010 05:44, Mattias Gaertner wrote: But highlighting helps a lot reading code with unfamiliar indentation. The case label highlighting helps reading foreign code. Try it. For example for me the indentation of the MSEGui code is unfamiliar. The case labeling helps here. this is one

Re: [Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting case]

2010-05-25 Thread Jürgen Hestermann
waldo kitty schrieb: two spaces indention for each new section, not one or more than 2 and most definitely not tabs... I find 3 spaces much more readable. for example: begin if foo then begin bar := foo; foo := not foo; end; if bar then begin foo := bar;

Re: [Lazarus] quick opinion poll / pascal highlighting case

2010-05-25 Thread Jesus Reyes
--- El lun 24-may-10, Martin laza...@mfriebe.de escribió: De: Martin laza...@mfriebe.de Asunto: [Lazarus] quick opinion poll / pascal highlighting case A: NORMAL Lazarus mailing lazarus@lists.lazarus.freepascal.org Fecha: lunes, 24 de mayo de 2010, 7:36 What are the opinions. Do you