[Qt-creator] qt-creator fails to highlight matlab (*.m) files

Coda Highland chighland at gmail.com
Thu Jan 26 02:47:06 CET 2012


Maybe Creator is treating .m files as Objective-C? I don't have a way
to check this right now but it seems that .m might be getting nabbed
by the C parser instead of the generic one.

/s/ Adam

On Wed, Jan 25, 2012 at 5:16 PM, Thomas Gahr <ml at dadommas.de> wrote:
> Hello!
>
> Is it possible that qt-creator (2.3.1 and git 4a43336a from Jan. 11) support
> for kate-highlighting files is not complete? It fails to highlight matlab files
> correctly while kate has no problems.
> Is there any way to debug this?
> I tried attaching with GDB in TextEditor/GenericHighlighter/manager.cpp:139:
>        try {
>            reader.parse(source);
>        } catch (HighlighterException &) {
>            definition.clear();         //here
>        }
> to see if there was an error parsing matlab.xml but this does not seem to be
> the case.
>
> Any ideas?
>
> Thanks,
> Thomas
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator



More information about the Qt-creator mailing list