<div><div>Hi Dave.</div><div>š</div><div>You can try pass to edoc comand option {pretty_printer, erl_pp}.</div><div>š</div></div><div>š</div><div>18.01.2013, 10:29, "Dave Kuhlman" <dkuhlman@pacbell.net>:</div><blockquote><p>I give edoc this:<br /><br />%%--------------------------------------------------------------------<br />-spec handle_incoming(<br />ššššššššš ServiceURL::string(),<br />ššššššššš WebSocket::pid(),<br />ššššššššš SessionId::string(),<br />ššššššššš Message::string(),<br />ššššššššš State::#state{}) -><br />ššššš {noreply, NewState::#state{}} |<br />ššššš {noreply, NewState::#state{}, Timeout::integer()} |<br />ššššš {stop, Reason::string(), NewState::#state{}}.<br />%% @doc<br />%% Handle an incoming message to this service.<br />%% @end<br />%%--------------------------------------------------------------------<br /><br /><br />And, it gives me what looks like this in the Web browser:<br /><br />%%--------------------------------------------------------------------<br />handle_incoming/5<br /><br />handle_incoming(ServiceURL::string(), WebSocket::pid(), SessionId::string(), Message::string(), State::#state{}) -> {noreply, NewState::#state{}} | {noreply, NewState::#state{}, Timeout::integer()} | {stop, Reason::string(), NewState::#state{}}<br /><br />Handle an incoming message to this service.<br />%%--------------------------------------------------------------------<br /><br />which is rather difficult to read.<br /><br />Is there some way to prevent edoc from causing function specs to word wrap?<br /><br />I suspect that there is, because none of the erlang documentaion is wrapped<br />and mashed together like that.š But, I've done Web searches and looked for<br />flags and read the edoc docs.š And, I can't get a clue.<br /><br /><br />Thanks for help.<br /><br />- Dave<br /><br /><br /><br />--<br /><br /><br />Dave Kuhlman<br /><a href="http://www.rexx.com/~dkuhlman">http://www.rexx.com/~dkuhlman</a><br />_______________________________________________<br />erlang-questions mailing list<br /><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br /><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></p></blockquote>