mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 00:22:42 +08:00
Updated docs for Fl_Multiline_XXX to reference 'new' Fl_Text_XXXX
widgets which have scrollbars and per-character color controls. This solves part of STR #2226 (item submitted 02:26 Jul 24, 2009). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6889 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -38,11 +38,15 @@
|
|||||||
This input field displays '\n' characters as new lines rather than ^J,
|
This input field displays '\n' characters as new lines rather than ^J,
|
||||||
and accepts the Return, Tab, and up and down arrow keys. This is for
|
and accepts the Return, Tab, and up and down arrow keys. This is for
|
||||||
editing multiline text.
|
editing multiline text.
|
||||||
<P>This is far from the nirvana of text editors, and is probably only
|
<P>
|
||||||
good for small bits of text, 10 lines at most. I think FLTK can be
|
This is far from the nirvana of text editors, and is probably only
|
||||||
used to write a powerful text editor, but it is not going to be a
|
good for small bits of text, 10 lines at most. Note that this widget
|
||||||
built-in feature. Powerful text editors in a toolkit are a big source
|
does not support scrollbars or per-character color control.
|
||||||
of bloat.
|
<P>
|
||||||
|
If you are presenting large amounts of text and need scrollbars
|
||||||
|
or full color control of characters, you probably want Fl_Text_Editor
|
||||||
|
instead.
|
||||||
|
<P>
|
||||||
*/
|
*/
|
||||||
class Fl_Multiline_Input : public Fl_Input {
|
class Fl_Multiline_Input : public Fl_Input {
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -37,6 +37,14 @@
|
|||||||
This widget is a subclass of Fl_Output that displays multiple
|
This widget is a subclass of Fl_Output that displays multiple
|
||||||
lines of text. It also displays tab characters as whitespace to the
|
lines of text. It also displays tab characters as whitespace to the
|
||||||
next column.
|
next column.
|
||||||
|
<P>
|
||||||
|
Note that this widget does not support scrollbars, or per-character
|
||||||
|
color control.
|
||||||
|
<P>
|
||||||
|
If you are presenting large amounts of read-only text
|
||||||
|
and need scrollbars, or full color control of characters,
|
||||||
|
then use Fl_Text_Display. If you want to display HTML text,
|
||||||
|
use Fl_Help_View.
|
||||||
*/
|
*/
|
||||||
class Fl_Multiline_Output : public Fl_Output {
|
class Fl_Multiline_Output : public Fl_Output {
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user