Hi
Using erlware-mode 0.1.15 I found a couple of indetation bugs.
1, In this function indentation get funny because of the [$%
the next line, and even function clause gets indented to the $.
subst_var([$%| Rest], Vars, Result, VarAcc) ->
Key = lists:reverse(VarAcc),
case lists:keysearch(Key, 1, Vars) of
{value, {Key, Value}} ->
subst(Rest, Vars, lists:reverse(Value, Result));
false ->
subst(Rest, Vars, [$%| VarAcc ++ [$%| Result]])
end;
subst_var([C| Rest], Vars, Result,
VarAcc) ->
subst_var(Rest, Vars, Result, [C|
VarAcc]);
subst_var([], Vars, Result, VarAcc) ->
subst([], Vars, [VarAcc ++ [$%|
Result]]).
2, If a clause has a parameter that is a string starting with -, the generation
of a new function clause when pressing ; (semicolon), the arrow in the
new clause
becomes "-p" instead of "->"
test("-p") ->
ok;
test() -p
/Anders
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"erlware-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/erlware-dev?hl=en
-~----------~----~----~----~------~----~------~--~---