Page 1 of 1

It´s posible use SynEdit with TrichView?

Posted: Tue Sep 20, 2005 3:17 am
by Guest
hello
It´s posible use SynEdit with TrichView?

So i want higligth, source code.

Posted: Tue Sep 20, 2005 7:14 am
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.

Posted: Tue Sep 20, 2005 3:42 pm
by Guest
Thanks

i´ll try the component, that you say me.

Posted: Tue Sep 20, 2005 8:20 pm
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,

Posted: Wed Sep 21, 2005 6:25 pm
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.

Posted: Wed Sep 21, 2005 7:17 pm
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,

Posted: Thu Sep 22, 2005 3:51 pm
by Guest
Thanks Stef

what is the site to know more about
code folding in SynEdit. and downloading?

Posted: Thu Sep 22, 2005 8:42 pm
by Stef
search for "synedit" + "code folding"