For multiple editor panes, Excel, Visual Studio, etc already do this by allowing you to drag a splitter bar to have 2 views into the same file. That way you're looking at 2 portions of a large .asm file at the same time, each in their own scrollable area, each can edit with their own cursor. Emacs does this simply by letting you switch to the same buffer from multiple windows (their word for each split panel inside an OS window).
For the section breaks, I mean inserting simple stuff like this:
Code:
sta blah
rts
;-----------------------
; The above bar would be creatable via keystroke
kewl:
lda foo
sta bar
rts
Having a consistent length of the ";----..." bars available easily insertable is handy. Some of the Turbo Assemblers on the C64 did this in their editor with a single keystroke.
Even in your example screenshot, you have the "Macros" comment surrounded by triple bars. It would be handy to have it insert "; === | ===" for you, with the "|" representing where the cursor would be, simply as boiler-plate comment decoration, instead of always having to try to manually do them all the same.
DanielS wrote:
White Flame wrote:
Just keep the same indentation as the previous line; if you write a label, then snap that left and indent after that to the same as the previous line, and that would work for me.
This is sort of what it does now. It looks at the previous line to check its indentation and indents the new line the same way. If the previous line has no text then the cursor moves to the 0 column (in other words, press enter twice to reset the indentation).
In your example, you indent code by 10 spaces. After entering a label at column 0, does the next line start at 0 as well, and you have to manually space over to 10? Many asm editors default to the code indentation, then snap the text to column 0 if you type a colon character, then return you to code indentation. That prevents having to manually line up the code again after typing a left-aligned label name.