Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#11 Provide side-by-side source view

open
Riaan Booysen
None
5
2001-08-18
2001-08-10
Mike C. Fletcher
No

When comparing and/or working with multiple files,
it's often useful to have the files open side-by-side
for comparison and reference.

Discussion

  • Riaan Booysen
    Riaan Booysen
    2001-08-18

    Logged In: YES
    user_id=438

    I can appreciate the use of such a side by side (rather top bottom) comparison for sourcefiles, but it's difficult to
    imagine how to fit it in the Editor framework.

    The best idea I've come up with is to halve the Editor's height and put a wxMiniFrame containing only the
    SourceView of the file being compared beneath the Editor. At first I thought this solution sucked, but I've grown
    fond of it and if you don't have objections I will implement something like that.

     
  • Riaan Booysen
    Riaan Booysen
    2001-08-18

    • assigned_to: nobody --> riaan
     
  • Logged In: YES
    user_id=34901

    Alternate suggestion: Have a way to launch a second editor
    window so that the windows can be arranged on-screen (yes,
    it's space-inefficient). A source-view-only view may not
    be what they want (they may need to look at the UML, for
    instance). Given the current editor framework, a way to
    say "start a new editor window, and tile the two windows
    side-by-side or top-to-bottom" would probably be the
    easiest to implement and the most flexible solution. I
    don't object to your solution, but it'll likely get
    complaints as users ask you to add ways to see other views,
    access other functions, etceteras.

     
  • Riaan Booysen
    Riaan Booysen
    2001-08-18

    Logged In: YES
    user_id=438

    No, I don't think I'm going for the alternate suggestion.
    Believe me it's overkill, and if you want that just run another Boa.

    The source to source compare is by far the most common, so I'll address that.