Re: [Lazarus] It is a beautiful day...

2019-08-11 Thread Ondrej Pokorny via lazarus
On 11.08.2019 13:12, Mattias Gaertner via lazarus wrote: On Sun, 11 Aug 2019 12:54:48 +0200 Ondrej Pokorny via lazarus wrote: The issue is that the new format is done with forwards-compatibility so that people can decide if they want to open the new file in an older Lazarus version. (The proje

Re: [Lazarus] getlazarus.org search request

2019-08-11 Thread Anthony Walter via lazarus
Ryan, My sites are built on my custom web class library that optionally uses templates to generate content. Templates are simple fill in the blank page type text files which use reflection to pull properties of a objects into the template. Here is how a template is formatted: Search Results: {

Re: [Lazarus] getlazarus.org search request

2019-08-11 Thread Ryan Joseph via lazarus
> On Aug 11, 2019, at 1:51 PM, Anthony Walter via lazarus > wrote: > > Currently there is no custom formatting applied as this is meant to be an > AJAX request to create populate suggestions. As this is an API like RESTful > function is this good enough for you or do want a "pretty" result f

Re: [Lazarus] getlazarus.org search request

2019-08-11 Thread Ryan Joseph via lazarus
> On Aug 11, 2019, at 1:51 PM, Anthony Walter via lazarus > wrote: > > Ryan, > > I was going to modify my project to allow for RESTful queries, when I > realized it already does this. The url and format are as follows: > > https://docs.getlazarus.org/?method=codesearch&phrase=TStringList E

Re: [Lazarus] Running using lazbuild

2019-08-11 Thread Ryan Joseph via lazarus
> On Aug 11, 2019, at 2:44 PM, Ryan Joseph wrote: > > Great, that worked. Why didn’t lazbuild do this automatically? As I said I > wanted to integrate into my editor but if I need to add extra flags that > greatly complicates things for me. Btw, here is the widget set option in the .lpi file

Re: [Lazarus] Running using lazbuild

2019-08-11 Thread Ryan Joseph via lazarus
> On Aug 11, 2019, at 2:40 PM, Mattias Gaertner via lazarus > wrote: > > Try building with > lazbuild --widgetset=cocoa Great, that worked. Why didn’t lazbuild do this automatically? As I said I wanted to integrate into my editor but if I need to add extra flags that greatly complicates th

Re: [Lazarus] Running using lazbuild

2019-08-11 Thread Mattias Gaertner via lazarus
On Sun, 11 Aug 2019 14:22:35 -0600 Ryan Joseph via lazarus wrote: > > On Aug 11, 2019, at 2:09 PM, Martin Frb via lazarus > > wrote: > > > > Looks like it did not pick up the widgetset. But it did pick up > > cpu=64bit. > > > > So it attempts carbon for 64 bit, which gives the error. > > Is

Re: [Lazarus] Running using lazbuild

2019-08-11 Thread Ryan Joseph via lazarus
> On Aug 11, 2019, at 2:09 PM, Martin Frb via lazarus > wrote: > > Looks like it did not pick up the widgetset. But it did pick up cpu=64bit. > > So it attempts carbon for 64 bit, which gives the error. Is this a lazbuild bug that could be fixed? I wanted to integrate lazbuild into my edito

Re: [Lazarus] Running using lazbuild

2019-08-11 Thread Martin Frb via lazarus
On 11/08/2019 20:29, Ryan Joseph via lazarus wrote: Hint: (lazarus) Missing state file of python4lazarus_package 1.0: /Users/ryanjoseph/Desktop/laz_tests/Python-for-Lazarus/python4lazarus/lib/x86_64-darwin/python4lazarus_package.compiled Hint: (11030) Start of reading config file /etc/fpc.cfg

Re: [Lazarus] getlazarus.org search request

2019-08-11 Thread Anthony Walter via lazarus
Ryan, I was going to modify my project to allow for RESTful queries, when I realized it already does this. The url and format are as follows: https://docs.getlazarus.org/?method=codesearch&phrase=TStringList Alternate request for xml format: https://docs.getlazarus.org/?method=codesearch&format

Re: [Lazarus] Running using lazbuild

2019-08-11 Thread Ryan Joseph via lazarus
> On Aug 11, 2019, at 11:48 AM, Juha Manninen via lazarus > wrote: > > On Wed, Jul 24, 2019 at 7:33 PM Ryan Joseph via lazarus > wrote: >> Can the “lazbuild” tool be used to run a project exactly like if I press the >> run button in Lazarus? >> I have project which runs in Lazarus but doing

Re: [Lazarus] Running using lazbuild

2019-08-11 Thread Juha Manninen via lazarus
On Wed, Jul 24, 2019 at 7:33 PM Ryan Joseph via lazarus wrote: > Can the “lazbuild” tool be used to run a project exactly like if I press the > run button in Lazarus? > I have project which runs in Lazarus but doing “lazbuild project.lpi” gives > me errors suggesting it didn’t do exactly the sam

[Lazarus] TextHint for TCombobox?

2019-08-11 Thread Alexey Tor. via lazarus
I see that TextHint works for Edit/Memo - but its not supported for Combobox (in editable style). Can you add? -- Regards, Alexey -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] I found an AnchorDockingDsgn package bug?

2019-08-11 Thread Juha Manninen via lazarus
On Mon, Jun 17, 2019 at 12:43 AM Michael W. Vogel via lazarus wrote: > Can you please open a bug report on Mantis?! There is one opened by Andrew Zenin. https://bugs.freepascal.org/view.php?id=35242 Regards, Juha P.S. Sorry for answering an old post. I am reading them now after a pause. -- __

Re: [Lazarus] SynEdit.TextBetweenPoints (Martin?)

2019-08-11 Thread Bart via lazarus
On Sun, Aug 11, 2019 at 4:33 PM Martin Frb via lazarus wrote: > SynEdit1.BeginUpdate(); / EndUpdate Thanks. Should have figured that out myself, shouldn't I ;-) -- Bart -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-

Re: [Lazarus] SynEdit.TextBetweenPoints (Martin?)

2019-08-11 Thread Martin Frb via lazarus
On 11/08/2019 15:41, Bart via lazarus wrote: One more question: The current solution creates 2 "redo" points. I have to press ^Z 2 times to undo the process. Is there a way to make it so that the whole process can be undone in one step (by invoking the default undo-mechanism of TSynEdit)? Syn

Re: [Lazarus] SynEdit.TextBetweenPoints (Martin?)

2019-08-11 Thread Bart via lazarus
Hi, In my real app I don't have persistent blocks, so that should not be a problem. > BlockBegin/BlockEnd are faster than SelStart/SelEnd. > BlockBegin/End and SetTextBetweenPoints are comparable. Speed is not of concern in my use case. The computer will always be faster than any human typing in

[Lazarus] fpreport: Rendering Report to Printer did not work on RasPi (arm-linux)

2019-08-11 Thread Andreas Frieß via lazarus
I have created a report with fpreport (in code) and it works on Windows (32-bit app) with Rendering to LCLCanvas, PDF  and Printer without problems. On a RasPi with rasbian (on Jessy, Wheezy the same) rendering to LCLCanvas and PDF works, but on printer it shows not the text. pictures are correct

Re: [Lazarus] SynEdit.TextBetweenPoints (Martin?)

2019-08-11 Thread Martin Frb via lazarus
On 11/08/2019 13:21, Bart via lazarus wrote: SetTextBetweenPoints(BB, BB, Pre, [setMoveBlock], scamAdjust, smaMoveUp, smNormal); // scamAdjust => Move the caret with the block. BE := BlockEnd; SetTextBetweenPoints(BE, BE, Post, [setMoveBlock], scamIgnore, smaMoveUp, smNorm

Re: [Lazarus] SynEdit.TextBetweenPoints (Martin?)

2019-08-11 Thread Bart via lazarus
On Sun, Aug 11, 2019 at 12:46 AM Martin Frb via lazarus wrote: > This should be all you need. Caret, Selection and IsBackwardSel are all kept > ... > SetTextBetweenPoints(BB, BB, Pre, [setMoveBlock], scamAdjust, > smaMoveUp, smNormal); >// scamAdjust => Move the caret with the block. >

Re: [Lazarus] It is a beautiful day...

2019-08-11 Thread Mattias Gaertner via lazarus
On Sun, 11 Aug 2019 12:54:48 +0200 Ondrej Pokorny via lazarus wrote: > On 11.08.2019 12:23, Mattias Gaertner via lazarus wrote: > >> I suggest to fix the old file format without > >> backwards-compatibility: > >>   > >>   > >>     > >> > >> That would mean that the C

Re: [Lazarus] It is a beautiful day...

2019-08-11 Thread Ondrej Pokorny via lazarus
On 11.08.2019 12:23, Mattias Gaertner via lazarus wrote: I suggest to fix the old file format without backwards-compatibility:             That would mean that the Compile flags for build modes get lost and the user must set them again. Are you fine with it? (

Re: [Lazarus] It is a beautiful day...

2019-08-11 Thread Graeme Geldenhuys via lazarus
On 11/08/2019 10:56 am, Ondrej Pokorny via lazarus wrote: > I found out that the XML format is unusual (wrong). Fully agree. That is so INI-ish, and really not needed in XML or JSON formats. > I ask because I wanted to update the file format to the new Lazarus XML > format (without the indexes a

Re: [Lazarus] It is a beautiful day...

2019-08-11 Thread Mattias Gaertner via lazarus
On Sun, 11 Aug 2019 11:56:38 +0200 Ondrej Pokorny via lazarus wrote: > On 11.07.2019 17:46, Michael Van Canneyt via lazarus wrote: > > The IDE now has proper support for Project groups. > > Hello, > > I started to use Project groups and also added the .lpg file to my > repository. I found ou

Re: [Lazarus] It is a beautiful day...

2019-08-11 Thread Ondrej Pokorny via lazarus
On 11.07.2019 17:46, Michael Van Canneyt via lazarus wrote: The IDE now has proper support for Project groups. Hello, I started to use Project groups and also added the .lpg file to my repository. I found out that the XML format is unusual (wrong). The nodes are not subnodes to :