Recent

Author Topic: json goes RichMemo  (Read 2061 times)

rvk

  • Hero Member
  • *****
  • Posts: 6944
Re: json goes RichMemo
« Reply #15 on: July 03, 2025, 10:24:37 pm »
...
There are no open issues regarding TRichmemo that I am aware of....
There is a bug tracker which is aware, I have filed a bug report in January, but nothing seems to be handles in the last 3 years.
Your quoting seems to be wrong here...

But I can't find any open issues in the bug tracker for TRichmemo.

CM630

  • Hero Member
  • *****
  • Posts: 1631
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: json goes RichMemo
« Reply #16 on: July 04, 2025, 08:06:52 am »
Hm, are we talking about the same bug tracker?
https://github.com/skalogryz/richmemo/issues

Here is a bug report:  https://github.com/skalogryz/richmemo/issues/13
Лазар 4,4 32 bit (sometimes 64 bit); FPC3,2,2

rvk

  • Hero Member
  • *****
  • Posts: 6944
Re: json goes RichMemo
« Reply #17 on: July 04, 2025, 08:29:36 am »
Hm, are we talking about the same bug tracker?
https://github.com/skalogryz/richmemo/issues

Here is a bug report:  https://github.com/skalogryz/richmemo/issues/13
That's not the "bugtracker".
The bugtracker is here https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues
(See the link at the left of every forum-page which says bugtracker)

Not sure if anyone sees the issue page you're pointing at.

dsiders

  • Hero Member
  • *****
  • Posts: 1525
Re: json goes RichMemo
« Reply #18 on: July 04, 2025, 08:40:59 am »
Hm, are we talking about the same bug tracker?
https://github.com/skalogryz/richmemo/issues

Here is a bug report:  https://github.com/skalogryz/richmemo/issues/13
That's not the "bugtracker".
The bugtracker is here https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues
(See the link at the left of every forum-page which says bugtracker)

Not sure if anyone sees the issue page you're pointing at.

Bugs in TRichMemo would not be reported to the Lazarus bug tracker. It is a separate package, and not part of the LCL.

rvk

  • Hero Member
  • *****
  • Posts: 6944
Re: json goes RichMemo
« Reply #19 on: July 04, 2025, 09:27:19 am »
Bugs in TRichMemo would not be reported to the Lazarus bug tracker. It is a separate package, and not part of the LCL.
Sure, but one shouldn't call the issue page of individual components "the bugtracker" here on the forum then ;)


Hansvb

  • Hero Member
  • *****
  • Posts: 889
Re: json goes RichMemo
« Reply #20 on: July 08, 2025, 08:00:27 pm »
As a reply to the first post.
Quote
Parsing to a string, - is even harder. I failed so many times and lost information and read error-messages...

I also happen to be working on json and am trying out a few things beforehand. The code in the zip file is still very premature but the basics works.
  • The json is put in a treeview. Completely copied from the json example that comes with Lazarus.
  • The Json is put in a memo.
  • The json is put in a stringgrid. (I will leave this I think)
  • The json is put in a dataset so that this dataset can be linked to a dbgrid. (better option because I also want to sort and filter later).

It is a trial/error created file, any comment lines are in Dutch. In the print screen you can see what it can do so far. This is the json from post 1 (slightly improved first).


Thaddy

  • Hero Member
  • *****
  • Posts: 18729
  • To Europe: simply sell USA bonds: dollar collapses
Re: json goes RichMemo
« Reply #21 on: July 08, 2025, 08:39:21 pm »
There is a jsonviewer in the tools section with full sourcecode.
lazarus/tools/jsonviewer.
« Last Edit: July 08, 2025, 08:49:14 pm by Thaddy »
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

Hansvb

  • Hero Member
  • *****
  • Posts: 889
Re: json goes RichMemo
« Reply #22 on: July 08, 2025, 08:47:20 pm »
I know:
Quote
Completely copied from the json example that comes with Lazarus.

Thaddy

  • Hero Member
  • *****
  • Posts: 18729
  • To Europe: simply sell USA bonds: dollar collapses
Re: json goes RichMemo
« Reply #23 on: July 08, 2025, 08:52:20 pm »
It is not one of the examples. It is a complete tool.
That made me think you were not aware of it. The examples are separate.
The examples are in fpc/packages/fcl-json/examples
I also lift code from the tool....

Nit-picking, yes.. ;)
« Last Edit: July 08, 2025, 09:03:54 pm by Thaddy »
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

 

TinyPortal © 2005-2018