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
Pipewire API
by
backprop
[
Today
at 05:44:44 am]
Any way to "embed" Window...
by
egsuh
[
Today
at 04:31:44 am]
class not found
by
SA.Blackmon
[
Today
at 02:02:29 am]
Extended Module Player
by
Gigatron
[March 11, 2026, 11:33:54 pm]
A collection of daily *NI...
by
Roland57
[March 11, 2026, 06:40:37 pm]
[ANN] PasBuild 1.6.0 rele...
by
cdbc
[March 11, 2026, 05:07:14 pm]
ShortStrings vs long stri...
by
marcov
[March 11, 2026, 03:30:18 pm]
88 year D. Knuth changes ...
by
Curt Carpenter
[March 11, 2026, 03:08:55 pm]
[ANN] PasBuild 1.5.0 rele...
by
Graeme
[March 11, 2026, 02:30:32 pm]
CADSys4 3D.
by
zamtmn
[March 11, 2026, 02:13:31 pm]
Synchronizing Lazarus pro...
by
marcov
[March 11, 2026, 01:09:21 pm]
Need help with project ma...
by
dseligo
[March 11, 2026, 12:12:04 pm]
Debian removes FPC/Lazaru...
by
marcov
[March 11, 2026, 11:58:36 am]
Qt6/Wayland clipboard: pa...
by
zeljko
[March 11, 2026, 11:53:24 am]
Questions about TFuncSeri...
by
hedgehog
[March 11, 2026, 09:50:46 am]
macOS 14+ Install Instruc...
by
CM630
[March 11, 2026, 07:56:45 am]
Update a table with an Au...
by
CraigC
[March 10, 2026, 10:54:23 pm]
TSplitter color property ...
by
backprop
[March 10, 2026, 08:43:28 pm]
Z80 ZX Spectrum and Syste...
by
Cascade
[March 10, 2026, 08:22:14 pm]
could Ardour's YTK be use...
by
robert rozee
[March 10, 2026, 03:18:36 pm]
[revisited] triple click
by
Thaddy
[March 10, 2026, 01:08:40 pm]
Hello! Anything new?
by
JuhaManninen
[March 10, 2026, 11:22:16 am]
C/C++ code to Object Pasc...
by
domasz
[March 10, 2026, 10:44:20 am]
[Solved] Saving a workboo...
by
Kaljakoira
[March 10, 2026, 09:09:59 am]
Good GPU accelerated math...
by
myisjwj
[March 10, 2026, 03:17:06 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Comment continuation? (Read 674 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: 12202
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