Re: [Lazarus] Go back when browsing code

2015-03-10 Thread Stephane Carre
Hi, Try Ctrl-H in Lazarus. Regards, Stephane On 10/03/15 10:35, aradeonas wrote: Hi, Does Lazarus support crtl-z when browsing code like Delphi? For example you jump from function to its declaration and then you want go back to that line,In Delphi hitting crtl-z do the job but in Lazarus I

Re: [Lazarus] Go back when browsing code

2015-03-10 Thread aradeonas
Thank you Mattias,But if I can use Ctrl+Z for both usage it could be great but it is very good right now. -- Ara On Tue, Mar 10, 2015, at 02:46 AM, Mattias Gaertner wrote: On Tue, 10 Mar 2015 02:35:48 -0700 aradeonas aradeo...@operamail.com wrote: Hi, Does Lazarus support crtl-z when

Re: [Lazarus] Feature request: Support Java classes syntax in code tools

2015-03-10 Thread Sven Barth
Am 10.03.2015 10:28 schrieb Mattias Gaertner nc-gaert...@netcologne.de: On Mon, 9 Mar 2015 21:36:18 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: On Mon, 9 Mar 2015, Mattias Gaertner wrote: On Sun, 8 Mar 2015 19:08:23 +0100 (CET) Michael Van Canneyt

Re: [Lazarus] Go back when browsing code

2015-03-10 Thread Graeme Geldenhuys
On 2015-03-10 09:35, aradeonas wrote: Does Lazarus support crtl-z when browsing code like Delphi? I thought Delphi IDE used Ctrl-LeftArrow. Ctrl+Z is undo in the editor. Anyway, Lazarus uses Ctrl+H as the default, but also has Ctrl+LeftArrow. All these can be customised by the developer in the

Re: [Lazarus] Go back when browsing code

2015-03-10 Thread Giuliano Colla
Il 10/03/2015 10:57, aradeonas ha scritto: Thank you Graeme, Its not installed in 1.2.6 but It can be useful. It is in 1.4 which is due to see the light in a short time. I warmly suggest to switch to 1.4, which has a significant amount of fixes/enhancements. 1.4 RC2 is already available at

Re: [Lazarus] Go back when browsing code

2015-03-10 Thread Mattias Gaertner
On Tue, 10 Mar 2015 02:35:48 -0700 aradeonas aradeo...@operamail.com wrote: Hi, Does Lazarus support crtl-z when browsing code like Delphi? For example you jump from function to its declaration and then you want go back to that line,In Delphi hitting crtl-z do the job but in Lazarus I

Re: [Lazarus] Go back when browsing code

2015-03-10 Thread aradeonas
Thank you Graeme, Its not installed in 1.2.6 but It can be useful. Thank you, Ara On Tue, Mar 10, 2015, at 02:51 AM, Graeme Geldenhuys wrote: On 2015-03-10 09:35, aradeonas wrote: Does Lazarus support crtl-z when browsing code like Delphi? I thought Delphi IDE used Ctrl-LeftArrow. Ctrl+Z

[Lazarus] Go back when browsing code

2015-03-10 Thread aradeonas
Hi, Does Lazarus support crtl-z when browsing code like Delphi? For example you jump from function to its declaration and then you want go back to that line,In Delphi hitting crtl-z do the job but in Lazarus I couldn't find such this thing. Regards, Ara -- http://www.fastmail.com - Or how I

Re: [Lazarus] Feature request: Support Java classes syntax in code tools

2015-03-10 Thread Michael Van Canneyt
On Tue, 10 Mar 2015, Mattias Gaertner wrote: Just compile it from trunk, as per http://wiki.freepascal.org/FPC_JVM/Building Just compiling gives: Error: Assembler jasmin.jar not found, switching to external assembling Jasmin has not released a version with the patches mentioned on the

Re: [Lazarus] Feature request: Support Java classes syntax in code tools

2015-03-10 Thread Mattias Gaertner
On Mon, 9 Mar 2015 21:36:18 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: On Mon, 9 Mar 2015, Mattias Gaertner wrote: On Sun, 8 Mar 2015 19:08:23 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: [...] The codetools cannot handle the jvm extensions.

Re: [Lazarus] Go back when browsing code

2015-03-10 Thread aradeonas
Oh it feels good ;) Thanks Stephane. There is no way to use Ctrl+Z for both usage?Editor setting doesn't allow. Regards, Ara On Tue, Mar 10, 2015, at 02:37 AM, Stephane Carre wrote: Hi, Try Ctrl-H in Lazarus. Regards, Stephane On 10/03/15 10:35, aradeonas wrote: Hi, Does

Re: [Lazarus] Go back when browsing code

2015-03-10 Thread aradeonas
Thank you Mattias. Have a good day, Ara On Tue, Mar 10, 2015, at 03:09 AM, Mattias Gaertner wrote: On Tue, 10 Mar 2015 02:49:28 -0700 aradeonas aradeo...@operamail.com wrote: Thank you Mattias,But if I can use Ctrl+Z for both usage it could be great but it is very good right now. No,

Re: [Lazarus] Go back when browsing code

2015-03-10 Thread Mattias Gaertner
On Tue, 10 Mar 2015 02:49:28 -0700 aradeonas aradeo...@operamail.com wrote: Thank you Mattias,But if I can use Ctrl+Z for both usage it could be great but it is very good right now. No, there is no option for that. There is only one jump history, but each editor file has its own Undo history.

Re: [Lazarus] Go back when browsing code

2015-03-10 Thread aradeonas
Thank you Giuliano,I will switch . Regards, Ara On Tue, Mar 10, 2015, at 04:07 AM, Giuliano Colla wrote: Il 10/03/2015 10:57, aradeonas ha scritto: Thank you Graeme, Its not installed in 1.2.6 but It can be useful. It is in 1.4 which is due to see the light in a short time. I warmly

Re: [Lazarus] Default Form placement

2015-03-10 Thread Kostas Michalopoulos
Doesn't Delphi use a single window interface with embedded form nowadays? Probably this is why it has a poDefaultPosOnly default instead of poDesigned, which i think makes more sense for the multi window interface of Lazarus and Delphi1-to-7. On Mon, Mar 9, 2015 at 8:19 PM, C Western

Re: [Lazarus] Feature request: Support Java classes syntax in code tools

2015-03-10 Thread Mattias Gaertner
On Sun, 8 Mar 2015 19:08:23 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: [...] The codetools cannot handle the jvm extensions. As a result, as soon as you include e.g. the androidr14 unit, code completion just stops working. It works here. What error do you get? Also,

Re: [Lazarus] How to write an eficient lexical scanner/parser?

2015-03-10 Thread silvioprog
On Fri, Mar 6, 2015 at 3:15 PM, Kostas Michalopoulos badsectorac...@gmail.com wrote: This is a classic series of articles that show how to write a very simple compiler in Turbo Pascal. The fundamentals when it comes to scanning are the same: http://compilers.iecc.com/crenshaw/ I've also

Re: [Lazarus] How to write an eficient lexical scanner/parser?

2015-03-10 Thread silvioprog
On Fri, Mar 6, 2015 at 4:21 PM, Anthony Walter sys...@gmail.com wrote: Here is something I originally wrote in 2001. I had a product briefly for converting pascal code into documentation and it quite fast. Do with it as you will. http://pastebin.com/qXJdHwGM Nice parser. I had some ideas

Re: [Lazarus] How to write an eficient lexical scanner/parser?

2015-03-10 Thread silvioprog
On Fri, Mar 6, 2015 at 3:29 PM, aradeonas aradeo...@operamail.com wrote: Hi Silvio, About this parsing subject maybe looking at BeniBela Xidel and InternetTools help you or talking to Benito Aurthur of them. He is a very good developer and kind person like you.

Re: [Lazarus] Default Form placement

2015-03-10 Thread C Western
On 10/03/15 14:54, Kostas Michalopoulos wrote: Doesn't Delphi use a single window interface with embedded form nowadays? Probably this is why it has a poDefaultPosOnly default instead of poDesigned, which i think makes more sense for the multi window interface of Lazarus and Delphi1-to-7. You

Re: [Lazarus] Feature request: Support Java classes syntax in code tools

2015-03-10 Thread Michael Van Canneyt
On Tue, 10 Mar 2015, Mattias Gaertner wrote: On Sun, 8 Mar 2015 19:08:23 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: [...] The codetools cannot handle the jvm extensions. As a result, as soon as you include e.g. the androidr14 unit, code completion just stops working.

Re: [Lazarus] Feature request: Support Java classes syntax in code tools

2015-03-10 Thread Mattias Gaertner
On Tue, 10 Mar 2015 19:45:29 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: On Tue, 10 Mar 2015, Mattias Gaertner wrote: On Sun, 8 Mar 2015 19:08:23 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: [...] The codetools cannot handle the jvm extensions.

[Lazarus] Compare record

2015-03-10 Thread aradeonas
Hi, How can I compare two record? Like this : type TRec=record na:string; end; var R1,R2:TRec; Begin R1.na:='A'; R2.na:='B'; if R1R2 then Showmessage('Error') Regards, Ara -- http://www.fastmail.com - Email service worth paying for. Try it for free --

Re: [Lazarus] Feature request: Support Java classes syntax in code tools

2015-03-10 Thread Michael Van Canneyt
On Tue, 10 Mar 2015, Mattias Gaertner wrote: On Tue, 10 Mar 2015 19:45:29 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: On Tue, 10 Mar 2015, Mattias Gaertner wrote: On Sun, 8 Mar 2015 19:08:23 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: [...] The

[Lazarus] componentlist patch

2015-03-10 Thread Sandro Cumerlato
Componentlist TTreeView controls are not controlled by keyboard arrow keys. Please review attached patch. Sandro Cumerlato Index: ide/componentlist.lfm === --- ide/componentlist.lfm (revisione 48251) +++ ide/componentlist.lfm

Re: [Lazarus] componentlist patch

2015-03-10 Thread Juha Manninen
On Tue, Mar 10, 2015 at 11:38 PM, Sandro Cumerlato sandro.cumerl...@gmail.com wrote: Componentlist TTreeView controls are not controlled by keyboard arrow keys. Please review attached patch. Applied, thanks. Juha -- ___ Lazarus mailing list

Re: [Lazarus] Compare record

2015-03-10 Thread Michael Thompson
On 11 March 2015 at 10:23, aradeonas aradeo...@operamail.com wrote: Hi, How can I compare two record? I usually end up writing my own - as per the first answer here: http://stackoverflow.com/questions/11797069/how-to-compare-two-trect-variables-in-d7 I'd be interested in knowing if there