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
WIKI Timeout issues
Please read here if you have trouble connecting to the wiki
Recent
Does anyone have experien...
by
xiyi0616
[
Today
at 03:38:17 am]
The issue of the scroll b...
by
jianwt
[
Today
at 03:27:12 am]
Why does $fpctarget not w...
by
Gustavo 'Gus' Carreno
[
Today
at 03:18:16 am]
"Mario & Luigi" (1994-200...
by
Gustavo 'Gus' Carreno
[
Today
at 01:46:38 am]
TMemoryStream Question wi...
by
Schmitty2005
[
Today
at 01:22:29 am]
GitHub action setup-lazar...
by
Gustavo 'Gus' Carreno
[
Today
at 01:03:07 am]
How to control subform: S...
by
Wilko500
[
Today
at 12:09:23 am]
A minor issue with the TR...
by
cdbc
[July 15, 2025, 11:44:52 pm]
activex.pp DosDateTimeToV...
by
440bx
[July 15, 2025, 11:16:33 pm]
Line Numbers, own System ...
by
Martin_fr
[July 15, 2025, 10:05:31 pm]
use Macro defines with Pa...
by
PascalDragon
[July 15, 2025, 10:03:21 pm]
generic Class for any Typ...
by
PascalDragon
[July 15, 2025, 09:53:18 pm]
Asking for an example of ...
by
marcov
[July 15, 2025, 09:39:58 pm]
Problems with libraries f...
by
regs
[July 15, 2025, 08:23:36 pm]
THUMBBUTTON does not work...
by
ASerge
[July 15, 2025, 08:10:40 pm]
Record Locked
by
Thaddy
[July 15, 2025, 07:28:38 pm]
tSQLQuery.UpdateSQL with ...
by
JRBleau
[July 15, 2025, 07:15:19 pm]
RichMemo's contents heigh...
by
dpap
[July 15, 2025, 06:13:22 pm]
Is Lazarus still serious ...
by
Thaddy
[July 15, 2025, 05:39:02 pm]
How to prevent text to be...
by
CM630
[July 15, 2025, 05:13:13 pm]
Has anyone installed TeeB...
by
Thaddy
[July 15, 2025, 05:04:07 pm]
fpc in [home] folder not ...
by
Gustavo 'Gus' Carreno
[July 15, 2025, 03:54:17 pm]
Setting up an ARM embedde...
by
Ruptor
[July 15, 2025, 03:06:39 pm]
Groupview Partial loading...
by
matthius
[July 15, 2025, 02:37:07 pm]
[Solved]Setting with hori...
by
PeterHu
[July 15, 2025, 12:32:44 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Comment continuation? (Read 451 times)
EganSolo
Sr. Member
Posts: 334
[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: 11463
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
Bright theme for bright minds
EganSolo
Sr. Member
Posts: 334
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