Added documentation for Fl_Text_Display::wrap_mode which seems to work well enough in the editor demo.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4418 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2005-07-14 14:42:00 +00:00
parent 7a2b1956e0
commit 40deaf46c6

View File

@ -63,10 +63,10 @@ class.
<LI><A HREF="#Fl_Text_Display.previous_word">previous_word</A></LI>
<LI><A HREF="#Fl_Text_Display.redisplay_range">redisplay_range</A></LI>
<LI><A HREF="#Fl_Text_Display.scrollbar_align">scrollbar_align</A></LI>
<LI><A HREF="#Fl_Text_Display.scrollbar_width">scrollbar_width</A></LI>
</UL></TD><TD><UL>
<LI><A HREF="#Fl_Text_Display.scrollbar_width">scrollbar_width</A></LI>
<LI><A HREF="#Fl_Text_Display.scroll">scroll</A></LI>
<LI><A HREF="#Fl_Text_Display.show_cursor">show_cursor</A></LI>
<LI><A HREF="#Fl_Text_Display.show_insert_position">show_insert_position</A></LI>
@ -75,6 +75,7 @@ class.
<LI><A HREF="#Fl_Text_Display.textsize">textsize</A></LI>
<LI><A HREF="#Fl_Text_Display.word_end">word_end</A></LI>
<LI><A HREF="#Fl_Text_Display.word_start">word_start</A></LI>
<LI><A HREF="#Fl_Text_Display.wrap_mode">wrap_mode</A></LI>
</UL></TD></TR>
</TABLE>
@ -233,5 +234,10 @@ uchar textsize() const;</A></H4>
<P>Moves the insert position to the beginning of the current word.
<H4><A NAME="Fl_Text_Display.wrap_mode">void wrap_mode(int mode, int pos);</A></H4>
<P>If <i>mode</i> is not zero, this call enables automatic word wrapping at column <i>pos</i>.
Word-wrapping does not change the text buffer itself, only the way that the text is displayed.
</BODY>
</HTML>