Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] new API for error parsers

I am trying to fix https://bugs.eclipse.org/bugs/show_bug.cgi?id=54812 about trimming problem for error parsers.
It has been open for ages. I don't think we can simply fix it we need a new API.

I suggest we create new interface IErrorParser2 which has a function(s) that tells what lines we want.
Current possible options:

- as is now
- untrimmed string <=1000 chars
- untrimmed string <=1000 chars with ending \n and \r (Doubt that it is needed though)
- string as is (including >1000 chars)
- whole buffer (without cutting by \n)

See proposed interface code here:
  https://bugs.eclipse.org/bugs/attachment.cgi?id=115836






Back to the top