Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
SynEdit
»
[SOLVED] SynEdit search / compile demo
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] SynEdit search / compile demo (Read 5112 times)
pcurtis
Hero Member
Posts: 951
[SOLVED] SynEdit search / compile demo
«
on:
November 24, 2020, 10:00:57 am »
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.
«
Last Edit: November 24, 2020, 12:55:07 pm by pcurtis
»
Logged
Windows 10 20H2
Laz 2.2.0
FPC 3.2.2
Martin_fr
Administrator
Hero Member
Posts: 12646
Debugger - SynEdit - and more
Re: SynEdit search / compile demo
«
Reply #1 on:
November 24, 2020, 11:53:08 am »
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
«
Last Edit: November 24, 2020, 12:00:32 pm by Martin_fr
»
Logged
Ide Tools, Code completion and more
/
IDE cool features
/
Debugger Status
pcurtis
Hero Member
Posts: 951
Re: SynEdit search / compile demo
«
Reply #2 on:
November 24, 2020, 12:35:20 pm »
Thanks.
Logged
Windows 10 20H2
Laz 2.2.0
FPC 3.2.2
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
SynEdit
»
[SOLVED] SynEdit search / compile demo
TinyPortal
© 2005-2018