Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
SynEdit
»
TSynEdit - horizontal line
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
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Is there a code formatter...
by
Zvoni
[
Today
at 12:56:12 pm]
how to change font.color ...
by
bbd666
[
Today
at 12:49:02 pm]
using RunCommand to wrap ...
by
MarkMLl
[
Today
at 12:14:30 pm]
"set of": order of elemen...
by
440bx
[
Today
at 12:09:33 pm]
Unselect all rows in stri...
by
wp
[
Today
at 12:02:28 pm]
read keys from windows ko...
by
Matze
[
Today
at 11:41:33 am]
visasession
by
MarkMLl
[
Today
at 11:34:28 am]
Treeview: full-width back...
by
d7_2_laz
[
Today
at 09:57:32 am]
UADE Library
by
TRon
[
Today
at 09:27:13 am]
how to read cheque micr l...
by
Packs
[
Today
at 08:58:27 am]
User Domain
by
TRon
[
Today
at 08:49:48 am]
Bug in the formula MATCH
by
veb86
[
Today
at 07:28:39 am]
Error, the IF function do...
by
veb86
[
Today
at 06:47:30 am]
Source Editor - Open Sour...
by
n7800
[
Today
at 05:13:12 am]
Form Positioning (Run & D...
by
Tony Stone
[
Today
at 03:28:03 am]
StrToInt not raising an e...
by
ALLIGATOR
[
Today
at 03:17:25 am]
[solved] Issues was wrong...
by
What I can do
[
Today
at 01:03:09 am]
Specialisation doesn't se...
by
nixbody
[
Today
at 12:38:49 am]
Please explain what is Po...
by
PascalDragon
[February 06, 2025, 11:03:56 pm]
Compile App Error
by
eldonfsr
[February 06, 2025, 10:03:23 pm]
ellipse ? off topic
by
d2010
[February 06, 2025, 09:10:42 pm]
Telegram bots API Wrapper
by
Renat.Su
[February 06, 2025, 07:51:49 pm]
Custom self drawn compone...
by
wp
[February 06, 2025, 06:29:29 pm]
working on multiple proje...
by
TRon
[February 06, 2025, 05:39:14 pm]
Problema como barra de ro...
by
mfdzerohour
[February 06, 2025, 05:14:28 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TSynEdit - horizontal line (Read 6500 times)
Dibo
Hero Member
Posts: 1055
TSynEdit - horizontal line
«
on:
March 26, 2011, 02:13:45 pm »
Hi,
Lazarus source editor using TSynEdit. I am using this component in my project. How Lazarus draw horizontal line (e.g. before section "var" and "implementation")? I can't find source editor unit in lazarus source.
Regards.
Logged
Martin_fr
Administrator
Hero Member
Posts: 10786
Debugger - SynEdit - and more
Re: TSynEdit - horizontal line
«
Reply #1 on:
March 26, 2011, 09:09:30 pm »
The information is returned from the highlighter.
See TSynCustomHighlighter.DrawDivider[Line].
See only highlighter that implements it is the Pascal Highlighter.
You can implement your own highlighter, or subclass any existing, and override the function that returns the info.
Information about highlighters (but not DrawDivider):
http://wiki.lazarus.freepascal.org/SynEdit_Highlighter
For DrawDivider you have to consult the Source itself, just use "Search in files"
Logged
From the wiki:
Ide Tools, Code completion and more
/
IDE cool features
/
Debugger Status
Dibo
Hero Member
Posts: 1055
Re: TSynEdit - horizontal line
«
Reply #2 on:
March 26, 2011, 10:11:36 pm »
Thanks Martinfr
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
SynEdit
»
TSynEdit - horizontal line
TinyPortal
© 2005-2018