Skip to content

Commit

Permalink
Merge remote branch 'jakob/hover' into pu
Browse files Browse the repository at this point in the history
  • Loading branch information
vladdu committed Sep 3, 2010
2 parents d285018 + 493ff97 commit f5ab007
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions org.erlide.kernel.ide/src/parsing/erlide_noparse.erl
Expand Up @@ -702,11 +702,11 @@ get_function_comment(F, []) ->
F;
get_function_comment(#function{name_pos={{Line, _}, _}}=F,
[#token{last_line=LastLine, value=Value} | _])
when LastLine+1=:=Line; LastLine+2=:=Line->
when LastLine+1=:=Line; LastLine+2=:=Line; LastLine+3=:=Line->
F#function{comment=erlide_text:strip_percents_and_spaces(Value)};
get_function_comment(#function{name_pos={{Line, _}, _}}=F,
[#token{line=LastLine, last_line=undefined, value=Value} | _])
when LastLine+1=:=Line; LastLine+2=:=Line->
[#token{line=LastLine, last_line=u, value=Value} | _])
when LastLine+1=:=Line; LastLine+2=:=Line; LastLine+3=:=Line->
F#function{comment=erlide_text:strip_percents_and_spaces(Value)};
get_function_comment(F, [_ | Rest]) ->
get_function_comment(F, Rest).
Expand Down

0 comments on commit f5ab007

Please sign in to comment.