Re: [Lazarus] Easiest way to case strings

2009-03-22 Thread Alexander Klenin
On Sun, Mar 22, 2009 at 05:36, Hans-Peter Diettrich drdiettri...@aol.com wrote: Alexander Klenin schrieb: There exist too many options with string comparison. In a table lookup the compare method can be supplied by the application, in a case statement this would require another syntax

Re: [Lazarus] Help to find cause of crash in IDE after revision 19044

2009-03-22 Thread Alexander Klenin
As a general design note, I think that PropertyEditor.GetAttributes function should be split into static and dynamic parts, where static part supplies type-specific attributes, and dynamic -- value-specific ones. -- Alexander S. Klenin ___ Lazarus

Re: [Lazarus] Help to find cause of crash in IDE after revision 19044

2009-03-22 Thread Alexander Klenin
On Sun, Mar 22, 2009 at 16:37, Alexander Klenin kle...@gmail.com wrote: 1) apply the attached patch I somehow managed to save incorrect patch. Please use this version instead. -- Alexander S. Klenin Index: propedits.pp === ---

Re: [Lazarus] Easiest way to case strings

2009-03-22 Thread Hans-Peter Diettrich
Alexander Klenin schrieb: Many Delphi extensions to the Pascal language break fundamental design rules. It's bad enough that FPC (and Lazarus) has to support such aberrations for compatibility reasons, I agree that some extensions were suboptimally designed, in particular dynamic arrays,

Re: [Lazarus] [OFF-TOPIC] HttpGetResume, Excele nte solução !

2009-03-22 Thread Arí Ricardo Ody
Tu ta' escrevendo pra uma lista internacional. Escreve em ingles, ta'? Embora parece que va' ser dificil. nem portugues tu sabes escrever direito. Free translation to english: You are writint to a international list. Please, write in english. Sat, 21 Mar 2009 19:25:16 -0700 (PDT), Silvio

Re: [Lazarus] Easiest way to case strings

2009-03-22 Thread Howard Page-Clark
On Sun, 22 Mar 2009 16:14:09 +1000 Alexander Klenin kle...@gmail.com wrote: On Sun, Mar 22, 2009 at 08:57, Howard Page-Clark h...@talktalk.net wrote: IndexStr() and AnsiIndexStr() were introduced in the then new StrUtils unit that shipped with BDS 3.0 (Delphi 2005). There is no StrUtils

Re: [Lazarus] Help to find cause of crash in IDE after revision 19044

2009-03-22 Thread Luiz Americo Pereira Camara
Alexander Klenin escreveu: On Sun, Mar 22, 2009 at 16:37, Alexander Klenin kle...@gmail.com wrote: 1) apply the attached patch I somehow managed to save incorrect patch. Please use this version instead. I applied this patch but it gives the same problem. FYI, VTV does not

Re: [Lazarus] Help to find cause of crash in IDE after revision 19044

2009-03-22 Thread Alexander Klenin
On Sun, Mar 22, 2009 at 20:37, Luiz Americo Pereira Camara luiz...@oi.com.br wrote: FYI, VTV does not define any custom property editor. Ok, I was too lazy to download and install VirtualTree and so shot in the dark. How can i know what is the property giving problem? Call GetName or

Re: [Lazarus] Help to find cause of crash in IDE after revision 19044

2009-03-22 Thread Luiz Americo Pereira Camara
Alexander Klenin escreveu: On Sun, Mar 22, 2009 at 20:37, Luiz Americo Pereira Camara luiz...@oi.com.br wrote: FYI, VTV does not define any custom property editor. Ok, I was too lazy to download and install VirtualTree and so shot in the dark. How can i know what is the

Re: [Lazarus] Help to find cause of crash in IDE after revision 19044

2009-03-22 Thread Luiz Americo Pereira Camara
Luiz Americo Pereira Camara escreveu: Alexander Klenin escreveu: On Sun, Mar 22, 2009 at 20:37, Luiz Americo Pereira Camara luiz...@oi.com.br wrote: How can i know what is the property giving problem? Call GetName or GetPropertyPath. Now i've got: Columns and

Re: [Lazarus] Help to find cause of crash in IDE after revision 19044

2009-03-22 Thread Alexander Klenin
On Sun, Mar 22, 2009 at 23:22, Luiz Americo Pereira Camara luiz...@oi.com.br wrote: Luiz Americo Pereira Camara escreveu: Columns is a TCollection descendant but is using a TList property editor. The crash probably is due to the cast to TList (TheList:=TList(GetObjectValue);) in

[Lazarus] codetools trying to keep track of renamed procedures

2009-03-22 Thread Martin Friebe
Codetools has a feature, that tries to keep track of renamed or altered declaration of procedures. If you change the name of a procedure inside the object declaration, and then press code-completion = Codetools will see the old method in the implementation.. It will detect that the old method

Re: [Lazarus] Help to find cause of crash in IDE after revision 19044

2009-03-22 Thread Luiz Americo Pereira Camara
Alexander Klenin escreveu: BTW, perhaps it would be easier to use IRC? I'm _Ask_ on #lazarus-ide. Yes. Lazarus mailing list has a big lag for me Luiz ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] Help to find cause of crash in IDE after revision 19044

2009-03-22 Thread Alexander Klenin
After IRC discussion the fix was submitted to Mantis as http://bugs.freepascal.org/view.php?id=13381 -- Alexander S. Klenin ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Easiest way to case strings

2009-03-22 Thread Hans-Peter Diettrich
Alexander Klenin schrieb: Delphi 2 (or 3?) was the last version with a grammar for the language. After that version the supplied OPL grammar is neither correct nor complete, the language is no more LL(1). It is historically interesting, but does it really matter? I'd call it serious, when a