1. How about block commenting in EU 4.0?

EU Developers,

Would it be too difficult to add block commenting to EU 4.0? Trial and error coders like me would appreciate it. Please consider.

Thanks.

'Debo

new topic     » topic index » view message » categorize

2. Re: How about block commenting in EU 4.0?

eumini said...

Would it be too difficult to add block commenting to EU 4.0? Trial and error coders like me would appreciate it.

It is already on the TODO list. It probably won't make v4.0 but should be okay for the version after that.

new topic     » goto parent     » topic index » view message » categorize

3. Re: How about block commenting in EU 4.0?

So, how much longer till 4.0 launch? What's left to do?

new topic     » goto parent     » topic index » view message » categorize

4. Re: How about block commenting in EU 4.0?

without define COMMENT 
ifdef COMMENT then 
    Give a try... what about this? 
end ifdef 

But some of the editors can handle line comments very user friendly. Context (Win32) for example can change the comment status of marked lines for a simple Ctrl-Shift-C key combination.

Salix

new topic     » goto parent     » topic index » view message » categorize

5. Re: How about block commenting in EU 4.0?

Edita will comment/uncomment every line highlighted on one click.

new topic     » goto parent     » topic index » view message » categorize

6. Re: How about block commenting in EU 4.0?

Gedit has a "Code comment" plugin that lets you do the same for Ctrl-M ...

new topic     » goto parent     » topic index » view message » categorize

7. Re: How about block commenting in EU 4.0?

The normal single line is .

Why not take as blockcomment all line between a -+ ...... -+

-+ bla bla bla bla -+

This simple combination will never be use for something usefull .

(This is what implemented in PEU)

Greatings Menno .

new topic     » goto parent     » topic index » view message » categorize

8. Re: How about block commenting in EU 4.0?

menno said...

The normal single line is .

Why not take as blockcomment all line between a -+ ...... -+

-+ bla bla bla bla -+

This simple combination will never be use for something usefull .

(This is what implemented in PEU)

Greatings Menno .

Or even just make it a , right?

++ block comment begins 
   Here are my comments. 
   Please ignore them, 
   oh speedy interpreter. 
++ -- block comment ends 

new topic     » goto parent     » topic index » view message » categorize

9. Re: How about block commenting in EU 4.0?

euphoric said...
menno said...

The normal single line is .

Why not take as blockcomment all line between a -+ ...... -+

-+ bla bla bla bla -+

This simple combination will never be use for something usefull .

(This is what implemented in PEU)

Greatings Menno .

Or even just make it a , right?

++ block comment begins 
   Here are my comments. 
   Please ignore them, 
   oh speedy interpreter. 
++ -- block comment ends 

Yep, I'd like this rather.

Or a line matching ^-{4,} (4 hyophens or more at physical line start).

Note: I liked Salix's solution at first. But, since the ifdef'ed out text is parsed somehow, there could be issues. Specially if it contains the words end ifdef. And locating the bug would be quite dificult.

CChris

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu