Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-09

Mac OS X : Need RTF functionality within Lazarus apps

18 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Hi all,
I need to be able to support a basic RTF editor within my Lazarus Mac OS X app. By basic I mean WordPad like functionality. Bold, Italic, Underline, Text Alignment and Font selection.

Is anyone working on such a Lazarus component, or has anyone worked out a way to embed the TextEdit app into their application?

Dominique.

Reply by email

dmitry boyarintsev
to Unknown author
Is anyone working on such a Lazarus component, or has anyone worked out a way to embed the TextEdit app into their application?

http://wiki.freepascal.org/RichMemo

I'd encourage you to use svn version, rather than downloadable CCR version. Some bugs were fixed, but not the donwloadable version is not updated.

svn version is avaialble here:
https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/richmemo

if you find any bug about the component, please report them at the bug tracker, under Lazarus-CCR project.

thanks,
dmitry

Reply by email

Unknown author
to dmitry boyarintsev

Great stuff Dmitry, I've installed it and will try it out tomorrow.

Dominique.

dmitry boyarintsev wrote
> Is anyone working on such a Lazarus component, or has anyone worked out

a

Show quoted text 10 lines
> way to embed the TextEdit app into their application? http://wiki.freepascal.org/RichMemo I'd encourage you to use svn version, rather than downloadable CCR version. Some bugs were fixed, but not the donwloadable version is not updated. svn version is avaialble here:

https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/richmemo

Show quoted text 12 lines
if you find any bug about the component, please report them at the bug tracker, under Lazarus-CCR project. thanks, dmitry -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Unknown author
to dmitry boyarintsev: http://wiki.freepascal.org/RichMemo I'd encourage you to use svn version, rather than…

Hi Dimitry,
I've been using the TRichMemo and it works well.

I've submitted a couple of bug reports and a feature request via sourceforge.

Thanks again for working on this component, it has saved my bacon.

Dominique.

dmitry boyarintsev wrote
> Is anyone working on such a Lazarus component, or has anyone worked out

a

Show quoted text 10 lines
> way to embed the TextEdit app into their application? http://wiki.freepascal.org/RichMemo I'd encourage you to use svn version, rather than downloadable CCR version. Some bugs were fixed, but not the donwloadable version is not updated. svn version is avaialble here:

https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/richmemo

Show quoted text 12 lines
if you find any bug about the component, please report them at the bug tracker, under Lazarus-CCR project. thanks, dmitry -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

dmitry boyarintsev
to Unknown author
I've submitted a couple of bug reports and a feature request via sourceforge.

Could you give a link? :)
I don't use sourceforge backtracker. It's better for me, to know about the , at the "Lazarus-CCR" project.

thanks,
dmitry

Reply by email

Unknown author
to dmitry boyarintsev

Oops my misunderstanding then. I thought that bug reports for CCR had to go through SF rather the the FP's Mantis.

I'll resubmit them to Mantis later today.

For the time being , the links are...
https://sourceforge.net/tracker/?func=detail&aid=2860978&group_id=92177&atid=599767

http://sourceforge.net/tracker/?func=detail&aid=2860975&group_id=92177&atid=599764 http://sourceforge.net/tracker/?func=detail&aid=2860984&group_id=92177&atid=599764

Dominique.

dmitry boyarintsev wrote 14 lines
> I've submitted a couple of bug reports and a feature request via > sourceforge. Could you give a link? :) I don't use sourceforge backtracker. It's better for me, to know about the , at the "Lazarus-CCR" project. thanks, dmitry -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Vincent Snijders
to Unknown author
Show quoted text 12 lines
Oops my misunderstanding then. I thought that bug reports for CCR had to go through SF rather the the FP's Mantis. I'll resubmit them to Mantis later today. For the time being , the links are... https://sourceforge.net/tracker/?func=detail&aid=2860978&group_id=92177&atid=599767 http://sourceforge.net/tracker/?func=detail&aid=2860975&group_id=92177&atid=599764 http://sourceforge.net/tracker/?func=detail&aid=2860984&group_id=92177&atid=599764

I added Dmitry as user in the Lazarus-CCR sf bug tracker and assugned these issues to him. He can decide to close them there, if he wishes.

Dmitry, can you add about where to add bug reports to http://wiki.lazarus.freepascal.org/RichMemo ? For example like:http://wiki.lazarus.freepascal.org/ACS#Bug_reporting_.2F_Feature_Request

Vincent

Reply by email

Unknown author
to dmitry boyarintsev: If they're fixed (please test), there's no need to report them to the Mantis. dmitry

Hi Dimitry,
I think I spoke too soon.

After some further testing, while creating a new demo for TRichMemo, it appears that the CaretPos X & Y variables are out of sync by 1 position.

Btw, should I send you the .pas and .lfm file for the new demo or would you like me to upload it somewhere? Maybe as part of a new bug report?

Dominique.

dmitry boyarintsev wrote
If they're fixed (please test), there's no need to report them to the Mantis.

Reply by email

dmitry boyarintsev
to Unknown author
Show quoted text 5 lines
After some further testing, while creating a new demo for TRichMemo, it appears that the CaretPos X & Y variables are out of sync by 1 position. Btw, should I send you the .pas and .lfm file for the new demo or would you like me to upload it somewhere? Maybe as part of a new bug report?

sure. please report the bug, and attach the demo, with the report.

thanks,
dmitry

Reply by email

Unknown author
to dmitry boyarintsev
dmitry boyarintsev wrote
How do you check that CaretPos is out of sync?

I have attached the updated uni1.* files to the following bug report... http://bugs.freepascal.org/view.php?id=14635

Unzip them into your samples directory, compile project1.lpr and load up an RTF file.
You should then be able to see the bug I'm reporting. That is probably easier than me explaining it.

NOTE : This demo is not 100% finished, but I've uploaded it as it shows the CaretPos bug.

I've also reported a bug relating to the CanUndo property and also a couple of other Delphi compatibility feature requests.

Dominique.

Reply by email

Unknown author
to Unknown author

Hi Dimitry,
Thanks for taking the time to look at the bug report, but please re-open issue 14635 becuase the CaretPos is definitely returning the wrong value for X.

I should have clarified in the report to load up an RTF file with about 30-40 lines of text in it
Once the Caret gets to about line 24-26, the X values jumps to 4 then 7 and keep on increasing, as you move down for no apparent reason, even though the caret is still in the very first column all the time. Y seems to be behaving correctly, which I didn't notice earlier.

Dominique.

Show quoted text 8 lines
On Sat, 19 Sep 2009 18:59:58 +0400, dmitry boyarintsev wrote: > How do you check that CaretPos is out of sync? I have attached the updated uni1.* files to the following bug report... http://bugs.freepascal.org/view.php?id=14635 Unzip them into your samples directory, compile project1.lpr and load up

an

Show quoted text 5 lines
RTF file. You should then be able to see the bug I'm reporting. That is probably easier than me explaining it. NOTE : This demo is not 100% finished, but I've uploaded it as it shows

the

CaretPos bug. I've also reported a bug relating to the CanUndo property and also a

couple

Show quoted text 12 lines
of other Delphi compatibility feature requests. Dominique. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email