Hi,

I created a macro which creates a process body (in VHDL), sort of like this:
---------
blabla: process ()
begin

end process blabla;
---------

My problem is, when I run this macro not being at the begining of a line,
I get wrong behavior (the "_____" are spaces):
------------------------this is what it should do:
_______blabla: process ()
_______begin
_______
_______end process blabla;
------------------------and this is, what it does:
_______blabla: process ()
begin
end process blabla;
------------------------

So the "Enter" doesn't react the way it should do,
but goes to the first position in the next line,
regardless where it was in the line before.

Is there a way to do this the right way, so I get the wanted behavior?
Thanks in advance for any answers.