class
TE_View
: public
InputHandler
, public
Observable
(Return to index)
Type:
Instantiable
Base Classes:
public
InputHandler
, public
Observable
Derived Classes
Include file:
IVGlyph/textview.h
Public:
TE_View
(
Style
*,
EivTextBuffer
*, int rows, int cols, boolean active)
void
backward_char
(const int cont = 1)
void
backward_line
(const int cont = 1)
void
backward_page
(const int cont = 1)
void
backward_word
(const int cont = 1)
void
beginning_of_line
()
void
beginning_of_text
()
void
beginning_of_word
()
void
convert_selection
(
SelectionManager
*)
void
copy
()
void
copy_selection
(
SelectionManager
*)
void
cut
()
void
cut_eol
()
void
delete_backward
()
void
delete_forward
()
int
displayed_lines
()
void
do_scroll
(GlyphIndex)
access text editor
virtual void
double_click
(const
Event
&)
various edit functions
void
down
()
virtual void
drag
(const
Event
&)
void
end_of_line
()
void
end_of_text
()
void
end_of_word
()
int
end_row
()
void
find_backward
(const char* pattern)
void
find_forward
(const char* pattern)
void
find_selection_backward
()
void
find_selection_forward
()
int
first_visible_line
()
void
forward_char
(const int cont = 1)
void
forward_line
(const int cont = 1)
void
forward_page
(const int cont = 1)
void
forward_word
(const int cont = 1)
void
free_selection
(
SelectionManager
*)
text
void
insert_char
(char c)
various information about displayed lines
void
insert_string
(char*, int count)
virtual void
keystroke
(const
Event
&)
void
left
()
void
line_update
()
number of lines in buffer
int
lines
()
scroll to index
int
load
(const char* path)
void
load_popup
()
void
newline
()
selections
void
own_selection
(
SelectionManager
*)
void
page_down
()
void
page_up
()
void
paste_buffer
()
virtual void
press
(const
Event
&)
virtual void
release
(const
Event
&)
void
right
()
void
save
()
InputHandler
int
save_as
(const char* path)
int
save_current
()
void
save_popup
()
int
start_row
()
const char*
text
()
void
text
(const char*, boolean update =true)
TE_Editor
*
text_editor
()
void
up
()
~TE_View
()
(more documentation)