Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
TSynEdit & TSynPasSyn Highlighter in color
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Change Size with ComboBox
by
jamie
[
Today
at 11:27:13 pm]
Find hex string in hex ed...
by
jamie
[
Today
at 11:12:56 pm]
Lazarus 2.0.12 on Linux L...
by
dseligo
[
Today
at 11:08:34 pm]
Rename from Object Inspec...
by
dseligo
[
Today
at 11:06:50 pm]
[SOLVED] Passing a variab...
by
Gustavo 'Gus' Carreno
[
Today
at 10:57:45 pm]
[SOLVED] Capturing Key Co...
by
JoeJoeTV
[
Today
at 10:43:46 pm]
Comparing cells of two co...
by
Gizmo
[
Today
at 10:40:22 pm]
Unfolding bug after searc...
by
Muso
[
Today
at 10:40:00 pm]
Newcomer seeks hobby!
by
wp
[
Today
at 10:09:55 pm]
Design Patterns in Pascal
by
Thaddy
[
Today
at 09:59:44 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TSynEdit & TSynPasSyn Highlighter in color (Read 538 times)
sergioantonio2013
New Member
Posts: 22
TSynEdit & TSynPasSyn Highlighter in color
«
on:
September 23, 2019, 03:38:00 pm »
I have added a TSynEdit and used a TSynPasSyn highlighter,
when I load a pas file, it highlights it in black and white,
how can I get it to highlight it in color, like comments in blue, etc.
Thanks.
«
Last Edit: September 23, 2019, 05:40:46 pm by sergioantonio2013
»
Logged
Martin_fr
Administrator
Hero Member
Posts: 7046
Debugger - SynEdit - and more
Re: TSynEdit & TSynPasSyn Highlighter in color
«
Reply #1 on:
September 23, 2019, 06:58:27 pm »
1) Have you set the SynEdit.Highlighter property to the SynPasSyn?
2) Have you checked the color settings in SynPasSyn (check all properties with "Attribute" in their name)
Logged
sergioantonio2013
New Member
Posts: 22
Re: TSynEdit & TSynPasSyn Highlighter in color
«
Reply #2 on:
September 23, 2019, 07:21:00 pm »
Thanks Martin_fr,
yeah when I click on the field with the attri in the name, it gives me the option to choose the color I want for the various tokens, and comment fields.
Thanks.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
TSynEdit & TSynPasSyn Highlighter in color
TinyPortal
© 2005-2018