Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Editor
»
[SOLVED] Comment continuation?
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
Ann: Deinline: a de-inlin...
by
Fred vS
[
Today
at 03:17:40 pm]
FPC Unleashed (inline var...
by
Thaddy
[
Today
at 03:05:44 pm]
AI assisted translation o...
by
MathMan
[
Today
at 02:59:27 pm]
Ann: DeCoperators
by
Thaddy
[
Today
at 02:48:13 pm]
Little bit...
by
jamie
[
Today
at 01:04:11 pm]
BAScript - Simple scripti...
by
Ñuño_Martínez
[
Today
at 01:00:21 pm]
NiceGrid component for La...
by
Alexandr R
[
Today
at 11:02:54 am]
Idea to solve a circular ...
by
jamie
[
Today
at 10:55:07 am]
ZeosDB and sqlite3
by
Thaddy
[
Today
at 08:49:46 am]
Status of Fresnel Project...
by
Thaddy
[
Today
at 08:47:30 am]
Help with OLD code
by
Thaddy
[
Today
at 08:17:11 am]
Can /my/ AI help me with ...
by
MathMan
[
Today
at 07:33:14 am]
Lazarus Image Editor
by
Boleeman
[
Today
at 03:46:20 am]
Splitting Picture into Qu...
by
Boleeman
[
Today
at 02:43:50 am]
The ever re-appearing /= ...
by
n7800
[
Today
at 02:13:57 am]
fp-h2pas: New C header tr...
by
BildatBoffin
[April 11, 2026, 07:22:29 pm]
TurboBird IBX
by
maurog
[April 11, 2026, 04:10:32 pm]
Remote desktop software i...
by
gidesa
[April 11, 2026, 02:25:43 pm]
Omitting semicolon on las...
by
Xenno
[April 11, 2026, 02:04:31 pm]
I can write your README.m...
by
domasz
[April 11, 2026, 09:53:02 am]
android attack (inc)
by
speter
[April 11, 2026, 04:19:54 am]
[ANN] Unofficial FPC 3.3....
by
440bx
[April 11, 2026, 01:00:04 am]
Track windows cross-platf...
by
dsiders
[April 10, 2026, 07:43:43 pm]
[ANN] PasBuild v1.8.0 Rel...
by
Graeme
[April 10, 2026, 06:43:13 pm]
Подписи кнопок панели инс...
by
Raskaton
[April 10, 2026, 06:37:48 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Comment continuation? (Read 724 times)
EganSolo
Sr. Member
Posts: 395
[SOLVED] Comment continuation?
«
on:
April 11, 2025, 09:47:55 pm »
I may be losing my mind or confusing IDEs ...
I thought there was a way to continue commenting by pressing Ctrl+Enter or something like that, no?
In case what I said doesn't make sense, consider this simple example:
Code: Pascal
[Select]
[+]
[-]
//This is a comment. I wish I could press Ctrl+Enter after the period, and have the next line start with two slashes ...
Thoughts?
«
Last Edit: April 11, 2025, 11:50:04 pm by EganSolo
»
Logged
Martin_fr
Administrator
Hero Member
Posts: 12291
Debugger - SynEdit - and more
Re: Comment continuation?
«
Reply #1 on:
April 11, 2025, 10:07:50 pm »
Menu: Tools > Options
Page: Editor > Tab and indent
There is a section "slash", and if you enable it, then comments will be continued when you press enter.
You can set up to continue, only if they match a certain pattern, or specific conditions.
Logged
Ide Tools, Code completion and more
/
IDE cool features
/
Debugger Status
EganSolo
Sr. Member
Posts: 395
Re: [SOLVED] Comment continuation?
«
Reply #2 on:
April 11, 2025, 11:51:49 pm »
Thanks, Martin! I'm sane again!
Incidentally, I've had to choose the option "Extend if matched or not matched to make it work...
If you're knew to Laz IDE and are unfamiliar with the editor's options, you'll find it under the main Tools menu. I've added a snapshot of the area where you can enable this feature since it's tucked away and is easy to miss (at least for me!) ...
«
Last Edit: April 11, 2025, 11:58:24 pm by EganSolo
»
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Editor
»
[SOLVED] Comment continuation?
TinyPortal
© 2005-2018