Recent

Author Topic: synedit component fails  (Read 13733 times)

davidshepherd

  • New Member
  • *
  • Posts: 30
synedit component fails
« on: December 15, 2009, 03:30:43 am »
Searched forum for this, nothing...

Finally got laz to install and run on 10.4.11 by using .9.28.2 and rebuilding with the 10.4 make options (whyfor not the .dmg have this? will I always need to rebuild laz cause I'm 10.4?)

AND, the components now 'move around', EXCEPT, not the synedit components.

Once you drop one, it's 'there', and if you try to move it,  "Access violation".

SO, any thoughts, or do I just do a bug report. Seems synedit just has problems on all versions of laz I've tried so far though...  someone told me to go BACK to .28.2 because of synedit, but it fails there also.

Wondering if it's not a bug, therefore. Something wrong with my system setup? My 10.4 osx?

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2544
    • havefunsoft.com
Re: synedit component fails
« Reply #1 on: December 15, 2009, 09:25:09 am »
what's backtrace of the crash?
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

davidshepherd

  • New Member
  • *
  • Posts: 30
Re: synedit component fails
« Reply #2 on: December 16, 2009, 02:51:05 am »
what's backtrace of the crash?

Forgive me, I'm too dense to know that. I'll see if something pops up in the console window.

I tried moving to .26.2, and that install fails now, but I'll load .28.2 and try again and let you know.

Thanks man

Phil

  • Hero Member
  • *****
  • Posts: 2750
Re: synedit component fails
« Reply #3 on: December 16, 2009, 03:58:28 am »
Yes, I can confirm the access violation on 0.9.28.2 on Intel Mac, but it doesn't occur on PowerPC Mac. Also, appears to be fixed in 0.9.29 SVN. If you really need this control (I've never used it for anything), you could try a 0.9.29 snapshot or build from SVN:

http://www.lazarus.freepascal.org/index.php/topic,8140.msg39177.html#msg39177

Thanks.

-Phil

davidshepherd

  • New Member
  • *
  • Posts: 30
Re: synedit component fails
« Reply #4 on: December 16, 2009, 05:39:32 am »
Yes, I can confirm the access violation on 0.9.28.2 on Intel Mac, but it doesn't occur on PowerPC Mac. Also, appears to be fixed in 0.9.29 SVN. If you really need this control (I've never used it for anything), you could try a 0.9.29 snapshot or build from SVN:

http://www.lazarus.freepascal.org/index.php/topic,8140.msg39177.html#msg39177

Thanks.

-Phil


Thanks, but that version has too many 'other' problems to use right now...

The synedit is for richedit text.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2544
    • havefunsoft.com
Re: synedit component fails
« Reply #5 on: December 16, 2009, 09:21:45 am »
The synedit is for richedit text.
here's another rich edit component you might want to try: http://wiki.lazarus.freepascal.org/RichMemo

It should work fine with 0.9.28.2.

I'd like to suggest you to use SVN version of the component.
Run from Terminal
Code: [Select]
cd ~
svn co https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/richmemo
This would create a "richmemo" directory at your home dir with the component files.
Go back to Lazarus and open .lpk file with "Package -> Open package file (.lpk)...". This would open the package dialog press "Install" there.
« Last Edit: December 16, 2009, 09:27:17 am by skalogryyz »
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1891
Re: synedit component fails
« Reply #6 on: December 16, 2009, 09:46:31 am »
Quote from: davidshepherd link=topic=8166.msg39201#msg39201

The synedit is for richedit text.

No. Synedit has nothing to do with richedit.

davidshepherd

  • New Member
  • *
  • Posts: 30
Re: synedit component fails
« Reply #7 on: December 17, 2009, 09:37:15 am »
The synedit is for richedit text.
here's another rich edit component you might want to try: http://wiki.lazarus.freepascal.org/RichMemo

It should work fine with 0.9.28.2.

I'd like to suggest you to use SVN version of the component.
Run from Terminal
Code: [Select]
cd ~
svn co https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/richmemo
This would create a "richmemo" directory at your home dir with the component files.
Go back to Lazarus and open .lpk file with "Package -> Open package file (.lpk)...". This would open the package dialog press "Install" there.


THANK YOU!!!

I will give it a try!

davidshepherd

  • New Member
  • *
  • Posts: 30
Re: synedit component fails
« Reply #8 on: December 17, 2009, 09:45:22 am »
Quote from: davidshepherd link=topic=8166.msg39201#msg39201

The synedit is for richedit text.

No. Synedit has nothing to do with richedit.

Yeah it does:  http://synedit.sourceforge.net/statedel.php


theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1891
Re: synedit component fails
« Reply #9 on: December 17, 2009, 09:51:17 am »
Yeah it does:  http://synedit.sourceforge.net/statedel.php

No it doesn't. It can export its contents to MS RTF or HTML but it is not a rich text or wysiwyg HTML editor.
« Last Edit: December 17, 2009, 09:58:42 am by theo »

davidshepherd

  • New Member
  • *
  • Posts: 30
Re: synedit component fails
« Reply #10 on: December 17, 2009, 10:10:01 am »
Yeah it does:  http://synedit.sourceforge.net/statedel.php

No it doesn't. It can export its contents to MS RTF or HTML but it is not a rich text or wysiwyg HTML editor.

Exactly what I need. exporting rtf. Can we be done now? (grin)

davidshepherd

  • New Member
  • *
  • Posts: 30
Re: synedit component fails
« Reply #11 on: December 17, 2009, 10:12:12 am »
here's another rich edit component you might want to try: http://wiki.lazarus.freepascal.org/RichMemo
[/quote]

Thank you my friend, and also for introducing me to svn. Sweet!

Compiled and installed first time even. I'm overjoyed, and will see if it can handle the nitty gritty now.

Blessings man!

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2544
    • havefunsoft.com
Re: synedit component fails
« Reply #12 on: December 17, 2009, 10:45:31 am »
Compiled and installed first time even. I'm overjoyed, and will see if it can handle the nitty gritty now.
if you find any bugs with it, please report them to bugs.freepascal.org "Lazarus CCR" project.
« Last Edit: December 17, 2009, 11:09:16 am by skalogryyz »
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

davidshepherd

  • New Member
  • *
  • Posts: 30
Re: synedit component fails
« Reply #13 on: December 17, 2009, 12:14:43 pm »
Compiled and installed first time even. I'm overjoyed, and will see if it can handle the nitty gritty now.
if you find any bugs with it, please report them to bugs.freepascal.org "Lazarus CCR" project.
Will do. Looking forward to it. I'll be looking at file size, search and replacement speed, and using it in a specialized visual file comparison utility.

Thanks again!

davidshepherd

  • New Member
  • *
  • Posts: 30
Re: synedit component fails
« Reply #14 on: December 18, 2009, 04:38:02 am »
Compiled and installed first time even. I'm overjoyed, and will see if it can handle the nitty gritty now.
if you find any bugs with it, please report them to bugs.freepascal.org "Lazarus CCR" project.

Bug time...  so I'll go to the bug report area...

I loaded an rtf file with:
fs := TFileStream.Create(/matrix805.rtf, fmOpenRead or fmShareDenyNone);
richmemo1.LoadRichText(fs);

Loads the 92K file just fine, and I can curse around in it, but it won't scroll past the end, or respond to the mouse.

I'm assuming it should do these things (smile) as a matter of course...

Ah well, maybe someone will get to it.

 

TinyPortal © 2005-2018