Page 1 of 1

Comment start and end

Posted: Sun Apr 07, 2013 10:57 am
by mk-soft
I like this...

Code: Select all

;{ For start comment

;} for end comment

Re: Comment start and end

Posted: Sun Apr 07, 2013 6:16 pm
by Danilo
mk-soft wrote:I like this...

Code: Select all

;{ For start comment

;} for end comment
Already in common use for folding.

Re: Comment start and end

Posted: Sun Apr 07, 2013 6:24 pm
by Tenaja
Yes, but that folding does not comment-out the code lines between the fold...

Re: Comment start and end

Posted: Sun Apr 07, 2013 6:28 pm
by ts-soft
Tenaja wrote:Yes, but that folding does not comment-out the code lines between the fold...
but if we do this, we require a new way to folding without comment-out :wink:

Re: Comment start and end

Posted: Sun Apr 07, 2013 6:37 pm
by Tenaja
Right, Thomas... I guess it's a bust! :mrgreen:


In the meantime, a workaround I have used is...

Code: Select all

Compilerif 0
  Many lines of comments without additional ; characters.
  Unfortunately the IDE does not STYLE them as comments.
  And If you use the word If it is capitalized instead of left as "if".
compilerendif

Re: Comment start and end

Posted: Sun Apr 07, 2013 6:39 pm
by Danilo
Tenaja wrote:Yes, but that folding does not comment-out the code lines between the fold...
I wanted to say: ;{ is already in common use for folding, so if you turn it into multi-line comment now,
our codes are commented out. It is not backward compatible.

Re: Comment start and end

Posted: Sun Apr 07, 2013 6:42 pm
by IdeasVacuum
my work-around :mrgreen:

Code: Select all

 ;Many lines of comments with ; characters.
 ;the IDE does STYLE them as comments.
 ;And if you use the word if it is not capitalized instead of left as "if".

Re: Comment start and end

Posted: Sun Apr 07, 2013 6:48 pm
by Josh
Tenaja wrote:In the meantime, a workaround I have used is...

Code: Select all

Compilerif 0
  Many lines of comments without additional ; characters.
  Unfortunately the IDE does not STYLE them as comments.
  And If you use the word If it is capitalized instead of left as "if".
compilerendif
You are happy with such a result?
CompilerIf 0
Many lines of comments without additional ; characters.
Unfortunately the IDE does Not STYLE them As comments.
And If you use the word If it is capitalized instead of left As "if".
compilerendif
I like IdeasVacuums work-around :D