Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
SynEdit
»
Fold comments only if they are N lines
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
Search
Advanced search
Recent
Debian releases a Gtk3 La...
by
theo
[
Today
at 04:13:01 pm]
[SOLVED] GTK3 : Icons hav...
by
zeljko
[
Today
at 02:59:43 pm]
Any way to "embed" Window...
by
myisjwj
[
Today
at 02:50:41 pm]
could Ardour's YTK be use...
by
robert rozee
[
Today
at 02:43:31 pm]
Hello! Anything new?
by
marcov
[
Today
at 02:36:45 pm]
Problem with drawing orde...
by
VisualLab
[
Today
at 02:03:37 pm]
mORMot again (HttpServer/...
by
ttomas
[
Today
at 12:45:49 pm]
Getting results from sql ...
by
Zvoni
[
Today
at 11:51:41 am]
Is it me or is there some...
by
Martin_fr
[
Today
at 11:48:04 am]
Exiting HeapTrace dump
by
jamie
[
Today
at 11:34:49 am]
CONCAT formula
by
Zvoni
[
Today
at 08:17:21 am]
emuloader: help to resurr...
by
arcadegamer
[March 15, 2026, 08:30:31 pm]
AutoSize TMemo.Height?
by
wp
[March 15, 2026, 05:55:05 pm]
Initialization & finaliza...
by
Martin_fr
[March 15, 2026, 05:24:36 pm]
Possible Enhancement to t...
by
jamie
[March 15, 2026, 04:10:38 pm]
lazarus 4.99 and missing ...
by
wp
[March 15, 2026, 03:11:43 pm]
Questions about TFuncSeri...
by
hedgehog
[March 15, 2026, 06:58:29 am]
CryptoLib4Pascal
by
Xor-el
[March 14, 2026, 06:17:32 pm]
Extended Module Player
by
Gigatron
[March 14, 2026, 05:32:06 pm]
[AGGPas] Difference betwe...
by
Roland57
[March 14, 2026, 04:36:02 pm]
declaring Array
by
Thaddy
[March 14, 2026, 01:24:11 pm]
TChart: Wrong default val...
by
wp
[March 14, 2026, 11:30:54 am]
Text Fill (Memo)
by
paweld
[March 14, 2026, 09:09:13 am]
Qt6/Wayland clipboard: pa...
by
AlexTP
[March 14, 2026, 08:56:58 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Fold comments only if they are N lines (Read 3841 times)
AlexTP
Hero Member
Posts: 2681
Fold comments only if they are N lines
«
on:
September 04, 2020, 12:03:15 pm »
This is needed for IDE.
IDE folds all multi-line comments, .e.g this one
procedure A;
//desc
//text
begin
This is not needed! 2 lines are no neeed to fold!
Pls make the IDE option like "Number of commented lines which are foldable".
Logged
CudaText editor
-
ATSynEdit
-
More from me
Thaddy
Hero Member
Posts: 18797
Glad to be alive.
Re: Fold comments only if they are N lines
«
Reply #1 on:
September 04, 2020, 12:40:49 pm »
Code folding - or comment folding - can only sensibly parsed in whole blocks.
IMHO there is no need for it either.
If I understand you correctly what you mean is the ability to truncate some of single line comments. I can't see the point.
Logged
Recovered from removal of tumor in tongue following tongue reconstruction with a part from my leg.
Martin_fr
Administrator
Hero Member
Posts: 12208
Debugger - SynEdit - and more
Re: Fold comments only if they are N lines
«
Reply #2 on:
September 04, 2020, 02:06:29 pm »
Please add a feature request on Mantis. Thanks
Logged
Ide Tools, Code completion and more
/
IDE cool features
/
Debugger Status
AlexTP
Hero Member
Posts: 2681
Re: Fold comments only if they are N lines
«
Reply #3 on:
September 04, 2020, 02:11:04 pm »
Done
https://bugs.freepascal.org/view.php?id=37697
Logged
CudaText editor
-
ATSynEdit
-
More from me
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
SynEdit
»
Fold comments only if they are N lines
TinyPortal
© 2005-2018