Forum > SynEdit

[SOLVED] SynEdit search / compile demo

(1/1)

pcurtis:
Hi All,

two things

1. How do I search / find in Synedit, and
2. How do I compile the demo app in c:\lazarus\components\synedit\test\

Thanks in advance.

Martin_fr:
c:\lazarus\components\synedit\test\ is the testcase.

There is an lpi file in that folder that you can open, and then run with F9.
But that is probably not what you want

c:\lazarus\examples\SynEdit\....
has several demo apps. All with an lpi file that you can open, and run in the IDE.

On linux those folders are write protected, and you should copy them first to your home folder, and then open the project in the copied folder.

c:\lazarus\examples\SynEdit\SearchAndReplace\SynEditSearchExample.lpi

Some info on SynEdit
https://wiki.lazarus.freepascal.org/SynEdit
Pay attention to
https://wiki.lazarus.freepascal.org/SynEdit#Logical.2FPhysical_caret_position

And some info on the search/replace options
https://wiki.lazarus.freepascal.org/Editor_Macros_PascalScript#Caller:_TSynEdit

pcurtis:
Thanks.

Navigation

[0] Message Index

Go to full version