Ok, word wrapping should be functional in SVN as of r8202. Please test and give me your feedback.
I'm not sure how best to handle long lines, though. We could either break the words, dynamically create a scrollbar, or scroll based on cursor position. What do you think? On Tue, Jun 16, 2009 at 05:31:05PM +0000, Mark Dunstan wrote: > Mark Dunstan <mduns...@...> writes: > > Does word wrapping work anywhere? Are there any examples? > > > void AG_EditableSetWordWrap (AG_Editable *ed, int enable) > > AG_EditableSetWordWrap() enables/disable word wrapping. > http://libagar.org/mdoc.cgi?man=AG_Editable.3 > > > When I put it in my code, like this: > AG_EditableSetWordWrap(textbox->ed, 1); > I get this error message: > > ..... > 1>d:\cpp_apps\agar2008inc\agar2008inc\main.c(116) : warning C4013: > 'AG_EditableSetWordWrap' undefined; assuming extern returning int > ..... > 1>main.obj : error LNK2019: unresolved external symbol _AG_EditableSetWordWrap > referenced in function _SDL_main > 1>D:\cpp_apps\Agar2008inC\Debug\Agar2008inC.exe : fatal error LNK1120: 1 > unresolved externals > ..... > > > _______________________________________________ > Agar mailing list > [email protected] > http://libagar.org/lists.html _______________________________________________ Agar mailing list [email protected] http://libagar.org/lists.html
