Lazarus

Using the Lazarus IDE => General => Topic started by: olly on July 26, 2021, 06:14:59 pm

Title: Where is the source that handles commenting a code block? (Ctrl + Slash)
Post by: olly on July 26, 2021, 06:14:59 pm
Ctrl + Slash comments a block of a code. Where is this handled? Is it a SynEdit plugin/option or does the IDE handle it?

SynEdit by default does not do this, unsure if there is just a plugin/option I can add.

Thanks.
Title: Re: Where is the source that handles commenting a code block? (Ctrl + Slash)
Post by: Martin_fr on July 26, 2021, 06:46:51 pm
probably in ide/sourceeditor.pp
(not checked)
Title: Re: Where is the source that handles commenting a code block? (Ctrl + Slash)
Post by: olly on July 26, 2021, 07:14:38 pm
https://github.com/graemeg/lazarus/blob/upstream/ide/sourceeditor.pp#L4344

Thanks!
TinyPortal © 2005-2018