Recent

Author Topic: SynEdit to edit WYSIWYG text  (Read 7318 times)

antonio

  • Hero Member
  • *****
  • Posts: 605
SynEdit to edit WYSIWYG text
« on: March 22, 2007, 07:05:02 pm »
An editable WYSIWYG synedit control

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1932
RE: SynEdit to edit WYSIWYG text
« Reply #1 on: March 22, 2007, 07:18:14 pm »
What's that?

antonio

  • Hero Member
  • *****
  • Posts: 605
RE: SynEdit to edit WYSIWYG text
« Reply #2 on: March 22, 2007, 07:27:00 pm »
I'd like to know also.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2650
RE: SynEdit to edit WYSIWYG text
« Reply #3 on: March 23, 2007, 04:40:56 pm »
What You See Is What You Get
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1932
RE: SynEdit to edit WYSIWYG text
« Reply #4 on: March 23, 2007, 04:45:10 pm »
I know. But what has it to do with Synedit?
In a way, Synedit is already WYSIWYG though. You see sourcecode and you get sourcecode. ;-)

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1932
RE: SynEdit to edit WYSIWYG text
« Reply #5 on: March 23, 2007, 10:40:51 pm »
Now I see what you meant. It's the same question as this one, right?
http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=3510&highlight=synedit

No, Synedit can't be used as a RichEdit Control.
It's a Source-Code Editor. It can only handle fixed-width fonts. In a way it's column-based, which is not how a RichEdit Control works.
It's not designed for different line-heights, and it has no idea about some vital concepts of a RichEdit Control, like Wordwrapping or Paragraphs.
It's so different, it wouldn't even be a good starting point for developing such a Component.

antonio

  • Hero Member
  • *****
  • Posts: 605
RE: SynEdit to edit WYSIWYG text
« Reply #6 on: March 26, 2007, 05:59:52 pm »
Yes, I made a lot of questions about this same issue.  SynEdit doesn't fit this matter and RichEdit is uportable. So... Thanks for your answer.

 

TinyPortal © 2005-2018