Questions tagged [synedit]

SynEdit is an advanced multi-line edit control, for Borland Delphi and Kylix. It supports syntax highlighting, word-wrapping, code completion, template components, and exporters for HTML, TeX and RTF.

SynEdit is an advanced multi-line edit control, for Borland Delphi and Kylix (C++Builder mostly works, but is unsupported). It supports syntax highlighting, word-wrapping, code completion, template components, and exporters for HTML, TeX and RTF.

enter image description here

It is a pure-VCL/CLX control, meaning it is not a wrapper for Microsoft Windows controls and so no run-time library is required.

Compatibility with FreePascal / Lazarus is planned, and the editor in the Lazarus IDE is indeed a SynEdit-port, but based on the 1.1 version and with some additions. SynEdit is packaged together with highlighter components which are used to syntax highlight many programming languages source code. See State of Development.

50 questions
42
votes
1 answer

SynEdit for Firemonkey?

Is there a synedit package that works with firemonkey (or someone working on it) ? From what I can gather there was a VGScene port earlier (see: this site), but it seems to been removed. Also see this site:
Jon Lennart Aasenden
  • 3,920
  • 2
  • 29
  • 44
9
votes
3 answers

Making an IDE using Pascal Script and SynEdit

I'm creating a built-in script engine using PascalScript from RemObjects (excellent) and the SynEdit editor. It's almost finished using the IDE example shipped with PascalScript and the IDE example in SynEdit - but - I can't see how to ask…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154
8
votes
4 answers

What is the latest SynEdit version or clone?

I havent used synEdit for a while, but today I found that I needed a good editor for a form with script support. As I went to download synEdit (which my mind had frozen in time as a "sure thing") I found that the original author had abandoned it. I…
Jon Lennart Aasenden
  • 3,920
  • 2
  • 29
  • 44
7
votes
1 answer

How to make TSynEdit's Wordwrap same as TMemo's?

I'm using TSynEdit as a more user-friendly TMemo, mostly for the advanced shortcuts, UNDO/REDO, and so on. Other things are OK, except the wordwrap behavior, please check the attached screenshot below, SynEdit has a strange space shown on the…
Edwin Yip
  • 4,089
  • 4
  • 40
  • 86
7
votes
1 answer

SynEdit: How to do background highlighting of multiple text regions given start and stop positions?

Using: Delphi XE2, Windows VCL forms application, 32-bit I'm using the SynEdit control to display text. I'm already using the TSynHTMLSyn syntax highlighter with the control to properly highlight HTML and JS code. I'm also doing a diff on this text…
Steve F
  • 1,527
  • 1
  • 29
  • 55
6
votes
1 answer

How Do You Update SynMemo Undo/RedoList When Deleting and Inserting a Line

If you delete a line and then insert a new line into TSynMemo how do you update the UndoList and RedoList so that the change can be undone with SynMemo.Undo? SynMemo1.BeginUpdate; iLineIndex := SynMemo1.Lines.IndexOf( SynMemo1.LineText…
Bill
  • 2,993
  • 5
  • 37
  • 71
6
votes
1 answer

How to enable line numbering in SynEdit?

I have recently downloaded SynEdit and I'm wondering how to enable line numbering (like in Lazarus)? I don't found anything at the internet. Thanks in advance.
5
votes
1 answer

SynMultiSyn Highlighter Caret Position

I have SynMultiSyn Highlighter (synHTMLcomplex) consisting of HTML (synHTML) and JavaScript (synJScript) like below: synHTML : TSynHTMLSyn; synJScript : TSynJScriptSyn; synHTMLcomplex: TSynMultiSyn; // HTML complex with SynHTMLcomplex do…
jcfaria
  • 312
  • 3
  • 14
5
votes
2 answers

SynEdit - where to find community?

I'm looking for some forum/mailing list where can I find active SynEdit users community? Official forums on SourceForge looks like dead...
migajek
  • 8,524
  • 15
  • 77
  • 116
4
votes
1 answer

How to handle links on Synedit tablenames?

I am working on a Sql editor, using TSynEdit in Delphi. I have my Object names (tables, stored procedures, domains and so on) in the Tablenames of the highlighter and Autocompletion, they show up in blue and underlined which is what i wanted but i…
Franky Brandt
  • 193
  • 1
  • 11
4
votes
1 answer

How to change color of the scrollbar in SynMemo with VCL styles

there. I changed style of standard objects with VCl-theme. I use Color, Font and Gutter properties to change style of SynMemo. But I don't know, how change style of ScrollBar of SynEdit( apply vcl-theme ). Who can help me ?
VeryBadUser
  • 113
  • 1
  • 8
4
votes
2 answers

How to Install a Delphi 2009 Component Package in Delphi 2010 ( UniSynEdit Package )?

I downloaded the SynEdit Unicode Vervion ( UniSynEdit ) , it contains packages of D5-D2009 , but i want to install it in Delphi 2010 ! , I loaded D2009 Package in D2010 IDE , It compiles successfully but there is no Menu item for Installing Package…
Mahmood_N
  • 521
  • 9
  • 20
4
votes
1 answer

How do I get the horizontal and vertical scroll bar position of TWinControl such as TSynEdit?

In Delphi, in many TWinControl descendants, such as in my exact case, the TSynEdit control, how would I read the horizontal and vertical scroll bar position? I have been searching around in the source code for my particular control, and in the base…
Warren P
  • 65,725
  • 40
  • 181
  • 316
3
votes
2 answers

Help with integrating latest Delphi Web Script (DWS) with SynEdit

I decided to have a concerted effort to get the excellent DWScript (Delph Web Script DWS) integrated into a simple IDE using SynEdit. DWScript is currently being agressively developed and has a number of advantages over other Pascal Script…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154
3
votes
1 answer

How to use the TSynCompletion and TSynAutoComplete components with SynEdit for TeX?

I want to create a simple TeX/LaTeX editor with Lazarus and SynEdit. The TSynTeXSyn syntax highlighter highlights the TeX syntax pretty well. Now I'd like some sort of code completion. Tried to use TSynCompletion and TSynAutoComplete components but…
Cigydd
  • 93
  • 1
  • 8
1
2 3 4