summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-07-14 14:42:00 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-07-14 14:42:00 +0000
commit40deaf46c647735590c173bde4c114241b38e9d7 (patch)
tree8066e27404b61f233135df0bef5db267b326335a /documentation
parent7a2b1956e0c958ad53ef3385f862de17f8db777f (diff)
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
Diffstat (limited to 'documentation')
-rw-r--r--documentation/Fl_Text_Display.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/documentation/Fl_Text_Display.html b/documentation/Fl_Text_Display.html
index fe0eea83e..ad83d7e4e 100644
--- a/documentation/Fl_Text_Display.html
+++ b/documentation/Fl_Text_Display.html
@@ -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>