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
1
vote
2 answers

SynEdit: Can't Display True Type Fonts Correctly

I've downloaded a SynEdit version from a Chinese website (with lots of improvements), but as the version on Sourceforge it doesn't support true-type fonts (such as Tahoma); it displays them separated with a space. Anything I can do about this?
killercode
  • 1,666
  • 5
  • 29
  • 42
1
vote
1 answer

Delphi XE - SynMemo - highlight a line and stop the cursor going where you click it

I'm using Delphi XE today (one of four versions I play with :) I've installed SynEdit/SynMemo to replace the standard TMemo. (a) I want to highlight a whole line based on its line number. (b) When I click on the first line, I want the caret to go…
Oli Howson
  • 43
  • 6
1
vote
2 answers

SynEdit compile error Delphi XE6

I have downloaded the latest SynEdit package from SourceForge, trying to install, but I1m getting the following error: [dcc32 Error] SynUnicode.pas(1723): E2010 Incompatible types: 'AnsiChar' and 'Char' {$IFNDEF SYN_COMPILER_6_UP} {$IFDEF…
tcxbalage
  • 696
  • 1
  • 10
  • 30
1
vote
2 answers

SynEdit OnPaintTransientDemo

I'm working with Delphi 2007 and SynEdit component. I'm the main developer of an open source editor (Tinn-R) and I'm trying to switch from the SynEdit ANSI to UNICODE. After some months of work everything is working fine except OnPaintTransient…
jcfaria
  • 312
  • 3
  • 14
1
vote
1 answer

SynEdit change markers (yellow or green line on gutter)

does anyone know how to add "change markers" functionality to SynEdit? I mean those lines, green for modified & saved, yellow for modified & unsaved parts of document... here is an example from other editor:…
migajek
  • 8,524
  • 15
  • 77
  • 116
0
votes
1 answer

Install SynEdit into Delphi 2010 - SynEdit_R2010.bpl is missing

I am attempting to install SynEdit_D2010 into my Delphi 2010 IDE, and I get an error stating that the program can't start because SynEdit_R2010.bpl is missing from my system. As far as I can tell, SynEdit_R2010.bpl is not missing on my system, and I…
rahvin74
  • 35
  • 7
0
votes
0 answers

Difference between SynEdit and TurboPack SynEdit?

What is the difference between SynEdit and TurboPack SynEdit? TurboPack is available to install in Delphi 11. There is no documentation available on GitHub profiles, so I need your support to learn more about this.
0
votes
2 answers

Creating a component from a DLL, runtime

Decided to migrate from Delphi 2007 to Delphi 11 Alexandria. I had DLLs made with component creation from them. In the program, I dynamically load the DLL, a component is created in the DLL. Code that worked without issue on Delphi 2007 does not…
0
votes
0 answers

How to underline words after spell check using Delphi

I'm trying to develop a text editor with spell checker capability. I can detect erroneous words successfully. Many text editors underline (red color) the erroneous words like this. How can I underline any word this way? Any TMemo, TRichEdit or…
Xel Naga
  • 826
  • 11
  • 28
0
votes
1 answer

Delphi. SynEdit - load big files. Virtual mode?

can anybody help? How to load big files (2-5 MB) into SynEdit/UniSynEdit and do not let application get stuck, to make fast work? Is there virtual mode? Thanks!!!
Michael
  • 475
  • 2
  • 9
  • 17
0
votes
1 answer

Making TSynEdit lines thread-safe for background processing

In the last few weeks I've been very busy creating a custom inhouse code editor based on the fine TSynEdit component. There's some background processing of the editor lines neede for validating the user input and highlighting potentially wrong…
FlKo
  • 805
  • 1
  • 10
  • 27
0
votes
1 answer

What is the Delphi 10 equivalent to DesignIntf?

Just updated the SynEdit RunTime module for Delphi 10.1 Berlin, but now I need to update the DesignTime Module... The Designer units from Delphi XE versions do not appear to be available in 10.1. What is the recommended Design Editor and Interface…
Joseph Poirier
  • 386
  • 2
  • 17
0
votes
1 answer

E2037 error in Delphi 10

I was trying to compile SynEdit code. Then I got several errors related to E2037 and E2065. Here is the code. (The definition part of the code is thousands of lines long. I only pasted related lines here.) TCustomSynEdit = class(TCustomControl) …
0
votes
2 answers

Installing Synedit on Delphi 10 Seattle

I am trying to install the latest Unicode version of TSynEdit in the Delphi 10 Seattle IDE. It builds OK but when installing I get the error: Access violation at address 27158679 in module 'bds.exe'. Read of address 00000010 It installs OK on…
Andy k
  • 1,056
  • 1
  • 11
  • 22
0
votes
1 answer

Delphi SynEdit does not recognize all Keywords from the list (Python)

I use SynEdit r117 from the Repository in my Delphi XE6 application. I would like to highlight Python code. For that, I placed a SynEdit Component onto my Form. Additionaly I added the Component SynPythonSyn onto it. I have connected them through…
C. Hediger
  • 434
  • 7
  • 22