Hi there,
I recently wondered about how useful it would be to be able to be to split an editor screen vertically to show code in the left pane and comments in the right. The novel bit is that the comments would wrap and hence flow faster than the code, with the comment for the current line of assembly scrolling into view and possibly being highlighted. Your code would simply contain (possibly very long) single-line, end-of-line comments. An enhancement would be to use escape characters to put in pseudo line-breaks, for example (or numbered lists or wiki text, etc). The problem which I'm trying to solve here is having to format multi-line comments myself and the trade-off between comprehensive comments and distance between lines of assembly.
This image of a diff viewer show roughly how I imagine a line on the left to be connected to an expanded comment on the right.

So, to the question: does anyone know whether there exist plugins for editors which do this already? Alternatively, and before I refer myself to the vim forums, does anyone know how hard it would be to do something like this in vim?
Regards
Michael
I recently wondered about how useful it would be to be able to be to split an editor screen vertically to show code in the left pane and comments in the right. The novel bit is that the comments would wrap and hence flow faster than the code, with the comment for the current line of assembly scrolling into view and possibly being highlighted. Your code would simply contain (possibly very long) single-line, end-of-line comments. An enhancement would be to use escape characters to put in pseudo line-breaks, for example (or numbered lists or wiki text, etc). The problem which I'm trying to solve here is having to format multi-line comments myself and the trade-off between comprehensive comments and distance between lines of assembly.
This image of a diff viewer show roughly how I imagine a line on the left to be connected to an expanded comment on the right.

So, to the question: does anyone know whether there exist plugins for editors which do this already? Alternatively, and before I refer myself to the vim forums, does anyone know how hard it would be to do something like this in vim?
Regards
Michael
Although not exactly what you want, definitely have a look at WinMerge.
It's a 'diffing' program designed to graphically display differences between two versions of sourcecode, so you can figure out what the hell went wrong, since your last working version, or something like that.
It's a 'diffing' program designed to graphically display differences between two versions of sourcecode, so you can figure out what the hell went wrong, since your last working version, or something like that.
Thanks for your reply, Homer, but please read the first paragraph of the OP.
Yeah, I realize its totally not what you want to achieve, but the GUI control they've developed is right on track.
That's what I was pointing you toward, because I believe the app is open sourced.
I'd be happy to help develop this kind of component in asm, if we were to work in ObjAsm..
That's what I was pointing you toward, because I believe the app is open sourced.
I'd be happy to help develop this kind of component in asm, if we were to work in ObjAsm..
Ah, I see...! Thanks for the pointer, I may have a look at it. Thanks also for the offer of some help - although as a total stranger to ObjAsm it could be a very steep learning curve!
Michael
Michael