[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jedit-users
Subject:    Re: [ jEdit-users ] Console to Errorlist problems
From:       Slava Pestov <slava () jedit ! org>
Date:       2003-08-31 19:01:19
[Download RAW message or body]

Errors are parsed a line at a time. To handle multiple line messages,
define the "extra lines" regexp to match them, and they will appear as
additional nodes in the error list.

On Sun, 2003-08-31 at 07:08, Richard Urwin wrote:
> I find I have error messages of the form
> 
> compilation error: file /home/richard/development/web/home.html line 2 element HTML
> xsltParseStylesheetProcess : document is not a stylesheet
> 
> I have created a new error pattern:
> RegExp: .+ error: file /home/richard/(.+) line ([^ ]+).*
> Extra Line: .+ : (.+)
> The console error detection correctly highlights the second line,
> but using $3 to pull the error message out of it sends a null string
> to errorlist.
> (I get the right file and line sent to errorlist though.)
> 
> Am I being dense today, or isn't there a way to pull out the contents
> of the second line?
> 
> -- 
> Richard Urwin
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
-- 
Slava Pestov



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
-- 
-----------------------------------------------
jEdit Users' List
jEdit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic