Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Dltk-dev] The problems do not appear in the Problems View

Hi all,

I am parsing the source code using my implementation of the AbstractSourceParser. In the method:
ModuleDeclaration parse(char[] fileName, char[] source, IProblemReporter reporter);
I am reporting problems like:

DefaultProblem problem = new DefaultProblem(
        "my File",
        "Syntax error: " + message,
        IProblem.Unclassified,
        new String[0],
        ProblemSeverities.Error,
        startIndex,
        stopIndex,
        line);
reporter.reportProblem(problem);

The error appears in the editor but not in the Problem View. Any ideas why, Did I forget to implement something?

I also have one more question regarding problem position. What is the purpose of line and column parameters in the DefaultProblem constructor? (I didn't manage to change anything in the problem position when I added those two parameters)

Thanks!

Gabriel


Back to the top