Skip to content

Replace mcedit syntax highlighting engine with an external (?) library #2931

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

Open
mc-butler opened this issue Nov 18, 2012 · 6 comments
Open
Labels
area: mcedit mcedit, the built-in text editor prio: low Minor problem or easily worked around

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/2931
Reporter birdie (aros@….com)
Mentions gotar@….pl, mooffie@….com (@mooffie), teresaejunior@….com

MC's internal syntax highlighting engine has many serious limitations like it's unable to highlight embedded quotations, it breaks on new lines, etc. etc. etc.

Colorer's can be licensed under GPL 2.0, LGPL 2.1 so it's fully compatible with MC's own license.

Colorer can be used as an external library, it also has a C language API.

http://colorer.sourceforge.net/mc.html

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Nov 18, 2012 at 11:01 UTC (comment 1)

  • Priority changed from major to trivial

@mc-butler
Copy link
Author

Changed by gotar (gotar@….pl) on Nov 28, 2012 at 12:19 UTC (comment 2)

  • Cc set to gotar@….pl

Does it support mcview? mc still lacks coloring in internal viewer (#1849).

@mc-butler
Copy link
Author

Changed by mooffie (@mooffie) on Apr 6, 2015 at 19:25 UTC (comment 3)

  • Cc changed from gotar@….pl to gotar@….pl, mooffie@….com

@mc-butler
Copy link
Author

Changed by teresaejunior (teresaejunior@….com) on May 16, 2016 at 0:22 UTC (comment 4)

There is also http://www.andre-simon.de/doku/highlight/en/changelog.php, which is actively maintained.

@mc-butler
Copy link
Author

Changed by teresaejunior (teresaejunior@….com) on May 16, 2016 at 0:25 UTC (comment 5)

  • Cc changed from gotar@….pl, mooffie@….com to gotar@….pl, mooffie@….com, teresaejunior@….com

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jun 16, 2017 at 11:56 UTC (comment 6)

Related discussion: #3830.

@zyv zyv changed the title Add the Colorer engine as an alternative to MC's internal highlighting engine Replace mcedit syntax highlighting engine with an external (?) library May 27, 2025
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
Development

No branches or pull requests

1 participant