regexp selected context lines for changes only reports

Post your new features ideas and suggestions here.
Post Reply
Posts: 1
Joined: Sat Apr 11, 2009 10:06 pm

regexp selected context lines for changes only reports

Post by Hirsch »

Thank You for very good and useful software. I use it to compare Intersystems Cache projects exported in xml. Export stucture is some herarhic tree of project items. I ask report to show differences only with 5 context lines, and sometimes this context is not enaugh to say exactly in which project item given difference is, cos context doesnt include item header tag.

It would be nice to define RegExp(s) to assign maching line to one or more context variable(s), what are shown before each difference in report. Example: i define RegExp
"^<Routine name=" and select "Show as header 1" and
"^<Method name=" and select "Show as header 2".
and then, if difference encaountered, report shows also latest header variables-lines:
<Routine name="aaa" ....>
<Method name="bbb" ....>

Think this would be quite universall and usable "context extension" for difference reports, also must'nt be too hard to implement.

Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm

Post by grigsoft »

Thank you for suggestion! In fact I was planning to add similar feature for main UI, but I guess using it in reports would be nice too.

Post Reply