It´s posible use SynEdit with TrichView?

General TRichView support forum. Please post your questions here
Post Reply
Guest

It´s posible use SynEdit with TrichView?

Post by Guest »

hello
It´s posible use SynEdit with TrichView?

So i want higligth, source code.
Sergey Tkachenko
Site Admin
Posts: 17602
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Complex syntax highlighting in TRichViewEdit is not possible yet.
There is a syntax highlighting component in http://www.trichview.com/resources/ , but it can do only a very basic highlighting, and on relatively small documents.
Guest

Post by Guest »

Thanks

i´ll try the component, that you say me.
Stef
Posts: 90
Joined: Mon Aug 29, 2005 9:56 am
Contact:

Post by Stef »

hello "Guest",

Do you have a special application in mind ?

I'm interested in your experience, because I had the same question a few years ago.
Since then I integated both RichView and SynEdit into my application.

But still I'm not satisfied and have plans to build a combined viewer. The application I'm thinking of is html+scripting or doc+code. The idea is that html or doc is edited as wysiwyg (well nearly) in RichView and the scripting/code is handled in SynEdit. Some kind of special items in RichView should act as a placeholder for the code sections.

cheers,
Guest

Post by Guest »

Hello Stef

i have in mind an editor with capabilities to highlight and
edit delphi, object pascal, C, C++, C Sharp , source code
using TRichViewn and SynEdit for delphi 7.

an late add folding code collpase, for now
i don´t know how to do folding.
Stef
Posts: 90
Joined: Mon Aug 29, 2005 9:56 am
Contact:

Post by Stef »

RichView, although it's a beatifull editor, is not well suited for code editing.
If you want to make a code editor, you'll need Synedit or Scintilla, because they have good and flexible lexer/parser, code completion, smart tabs, auto-indent, proposals, bookmarks, breakpoints etc, etc.

Codefolding is available in Scintilla. Synedit is working on code folding. There's a guy who already made a code folding in synedit, but it's still beta.

Succes,
Guest

Post by Guest »

Thanks Stef

what is the site to know more about
code folding in SynEdit. and downloading?
Stef
Posts: 90
Joined: Mon Aug 29, 2005 9:56 am
Contact:

Post by Stef »

search for "synedit" + "code folding"
Post Reply