Date: 9/25/2001 11:37a.m.
Hello,
It would be nice if the original line numbers were displayed on screen when using collapsed text, instead of renumbering the lines to compensate for the hidden/collapsed lines.
I'm currently editing a perl program with embedded documentation. The documentation is bulky, and I've decided I'd 'collapse' the documentation so all I see is code. If I need to edit or view the docs, I can just expand the node.
So I'm working on my code I get a run-time error saying 'error xxx on line yyy'. But since Multi-edit displays line numbers relative to the collapsed lines the line numbers reported by the compiler no longer match the line numbers displayed within ME9.
For example, let says I have the following pseudo program:
01 #!/usr/bin/perl 02 =head1 Title of documentation section 03 04 docs blah blah blah blah 05 06 =cut 07 08 print hello world\n;
Line 8 is invalid, since I did not properly quote it. But if I collapse the documentation this is displayed in ME:
01 #!/usr/bin/perl +02 =head1 Title of documentation section 03 04 print hello world\n;
And then the compiler returns: "Syntax error on line 8"
So I look at my source code and, of course, there is "no" line 8, only lines 1 through 4. I have to expand all nodes in order to visually find the true line that relates to the error. I haven't tried to use the "goto" feature, but I'd like the line numbers displayed on the screen to match the position the lines are in the source file.
Would you make it an option to retain the 'original' line numbers before collapsing, so in my example it would display:
01 #!/usr/bin/perl +02 =head1 Title of documentation section 07 08 print hello world\n;
If this is already an option, please forgive my ignorance. I did not see any check boxes/radio buttons that seemed like they would allow me to do this, nor does there seem to be any mention of it in the 'Collapse' help items.
Thank you,
--James
|
Posted By: James Olsen
Date: 9/27/2001 3:12p.m.
In Response To: Re: Feature request: Retain 'real' line numbers when using collapse feature (Dan Hughes - (ACI))
Thanks for the information, I'll keep it in mind while working with collapsed sections.
Will you consider adding an option to display the line numbers in the main editor pane as their 'real' numbers, instead of their 'relative to collapsed text' numbers?
In any case, thank you for a wonderful product!
--James
|