google-code-export / notepad2-mod

Automatically exported from code.google.com/p/notepad2-mod
Other
2 stars 1 forks source link

extend Code folding for multi-line-comments #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is there a way to fold multi line comments as well?

Tank you for answers

Original issue reported on code.google.com by nico.str...@googlemail.com on 14 Jun 2011 at 2:15

GoogleCodeExporter commented 9 years ago
It depends on the lexer but if it's already implemented it is supported. If 
it's not there then it's not implemented in the lexer which means you'll have 
to ask the scintilla developers to implement it.
So which lexer are you referring to?

Original comment by XhmikosR on 14 Jun 2011 at 2:36

GoogleCodeExporter commented 9 years ago
Thank you for your reply

Hmm, strange, your right. CF for comments is already possible in (pure) 
Javascript or C syntax, but not in PHP (in Notepad2 consolidated as: Web Source 
code - maybe that's the problem?)

Original comment by nico.str...@googlemail.com on 14 Jun 2011 at 3:06

GoogleCodeExporter commented 9 years ago
That lexer is weird, cause it combines a lot of stuff. For example the toggle 
comment for html is "//" which is wrong, but it's a limitation. Try your file 
with Scite but like I said if it's not already in Notepad2-mod then it simply 
isn't supported by scintilla.

Original comment by XhmikosR on 14 Jun 2011 at 3:15

GoogleCodeExporter commented 9 years ago
Okay, thank you.

Original comment by nico.str...@googlemail.com on 14 Jun 2011 at 3:19

GoogleCodeExporter commented 9 years ago

Original comment by XhmikosR on 15 Jun 2011 at 1:34