Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F2_MultiComment__Del-Uncomm__C-s_Save__M-y_TSyntax #1832

Closed
mc-butler opened this issue Nov 17, 2009 · 6 comments
Closed

F2_MultiComment__Del-Uncomm__C-s_Save__M-y_TSyntax #1832

mc-butler opened this issue Nov 17, 2009 · 6 comments
Labels
area: mcedit mcedit, the built-in text editor prio: low Minor problem or easily worked around ver: 4.7.0-pre4 Reproducible in version 4.7.0-pre4

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/1832
Reporter vit_r (vit_r@….ru)
Mentions zaytsev (@zyv)

While pressing F2 comments lines (cursor can start anywhere)

(excl ELF)
';' - "*.[s,S]" filenames
'' - "*.[h,H,c,C]" | "*.[c,C]??" filenames
'#' - } else {

To uncomment first press Home to move curs to bol
then pressing Delete uncomments lines accordingly.

C-s was for CK_Toggle_Syntax which now is on Alt-y, so
C-s does CK_Save as in KWrite

Hope someone will like to use it

Anyway it proved to be convenient and at the moment

it is my thanks to dev-team for great efforts


building the Best file manager.

Vit

ps

"Comment(by zaytsev): No print screen please..."
Mr. zaytsev !
It is fine in X also now

pps

"Comment(by andrew_b): ... Solution must be more general and flexible."
Mr. andrew_b !
If an expert would agree to guide me I'll try my best
to remake it so it will enrich mc one day !



2009-11-17

Note

Original attachments:

@mc-butler
Copy link
Author

Changed by vit_r (vit_r@….ru) on Nov 17, 2009 at 2:10 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Nov 17, 2009 at 5:17 UTC (comment 1)

  • Status changed from new to closed
  • Resolution set to duplicate
  • Description edited

WTF??? Closed as wonfix and duplicate of #1819.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Nov 17, 2009 at 20:41 UTC (comment 2)

  • Description edited
  • Cc set to *andrew_b, *

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Nov 17, 2009 at 20:41 UTC (comment 3)

  • Cc changed from *andrew_b, * to andrew_b, zaytsev

And

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Nov 17, 2009 at 20:43 UTC (comment 4)

Andrew, I think that comment / uncomment is not bad, but it should be more general (e.g. not only C/C++, but also TeX, Python etc.)... why wouldn't we leave this open for future releases, maybe one day Ilya would want to take care of it, or the original author will improve it until it gets the acceptable shape.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Dec 17, 2016 at 7:25 UTC (comment 5)

  • Milestone Future Releases deleted
  • Cc changed from andrew_b, zaytsev to zaytsev
  • Branch state set to no branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: mcedit mcedit, the built-in text editor prio: low Minor problem or easily worked around ver: 4.7.0-pre4 Reproducible in version 4.7.0-pre4
Development

No branches or pull requests

1 participant