#37 own schemes


Здравствуйте, уважаемые разработчики!

у меня такое предложение:
добавить возможность использования своей схемы подсветки
(например, очень хочется, чтобы редактор понимал не только 20 стандартных схем, но и например, Lisp, schema.... matlab'овские файлы и т.д.)


  • Mezomish

    Mezomish - 2010-04-19

    Technically it's not a problem at all to add any language supported by Scintilla itself (~100 languages, including Matlab and Lisp). The problem is - to do that there must be created a certain QsciLexer - some kind of a "bridge" between Scintilla lexers and QScintilla itself. I can do some skeleton for that but I will definitely need some help from people who know Matlab and Lisp (since I don't).
    If you'd like to participate please email me.

  • Mezomish

    Mezomish - 2010-04-20

    In fact, it was easier than I expected :)
    If you send me the list of keywords of Matlab and Lisp and list of file extensions associated with them (and some other languages you'd like to have) I'll add those lexers (supported by the original Scintilla) to the new version.
    Matlab and Lisp are almost ready.

  • Mezomish

    Mezomish - 2010-04-20
    • status: open --> open-accepted
  • Mezomish

    Mezomish - 2010-11-03
    • status: open-accepted --> closed-fixed
  • Mezomish

    Mezomish - 2010-11-03

    Well, I've added Matlab, Lisp, Haskell, Ada, ASM, NSIS, NBC/NXC (commited in trunk).
    There is no way to add a syntax other than in the code, so I'll close this bug.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks