-
class
EivTextEditor
: public MonoGlyph
(Return to index)
-
Type:
Base Classes:
Derived Classes
Include file:
Public:
-
EivTextEditor ()
-
EivTextEditor (Style*, boolean active= true)
- int
dot ()
-
enum
{ Character, Word, Line, Text }
- void
find_backward (const char* pattern)
Yeah, I know. There are useful functions missing here...
Text get and set methods
- void
find_forward (const char* pattern)
- InputHandler*
focusable ()
- void
insert_string (char* str, int count)
- int
load (const char* path)
- void
load_popup ()
- int
mark ()
modify selection in term of text indices
- void
quit ()
Selections
get dot and mark indices
- int
save (const char* path = nil)
popup window to allow user to load/save a file
- void
save_popup ()
before quitting invoke save or save-as as needed
- void
select (const int dot, const int mark)
- void
select_all ()
move the current selection forward or backward the specified
unit of text.
- void
select_backward (const EivTextUnit, const int count)
- void
select_beginning (const EivTextUnit)
- void
select_end (const EivTextUnit)
move the current selection forward or backward the specified numbers
of the specified units.
- void
select_forward (const EivTextUnit, const int count)
search for regular expression specified by pattern
match is selected
- const char*
text ()
- void
text (const char*, boolean update =true)
- TE_View*
textview ()
- virtual
~EivTextEditor ()
load/save file. Default for save is to save to current
file name (specified by load())
Protected:
(more documentation)