CodeView  Version0.4
 All Classes Functions Variables
Public Member Functions | Friends | List of all members
cv::InnerEdit Class Reference
Inheritance diagram for cv::InnerEdit:

Public Member Functions

 InnerEdit (os::Control *c)
 
void SetText (const os::String &)
 Set the entire buffer.
 
void GetText (os::String *, uint startx, uint starty, uint endx, uint endy) const
 
void GetText (os::String *str, const os::IPoint &p0, const os::IPoint &p1) const
 
void InsertText (const os::String &, uint x, uint y, bool addUndo=true)
 Insert text at a certain location and optionally create an UndoNode.
 
void InsertText (const os::String &str, const os::IPoint &p)
 
void RemoveText (uint startx, uint starty, uint startx, uint starty, bool addUndo=true)
 
void RemoveText (const os::IPoint &p0, const os::IPoint &p1)
 
const os::String & GetLine (uint y) const
 
void SetLine (const os::String &, uint y, bool addUndo=true)
 
uint GetLineCount () const
 
void SetFormat (Format *)
 
FormatGetFormat () const
 
void SetTabSize (uint)
 
uint GetTabSize () const
 
void SetUseTab (bool b)
 
bool GetUseTab ()
 
void SetCursor (uint x, uint y, bool select=false)
 
void SetCursor (const os::IPoint &p, bool select=false)
 
os::IPoint GetCursor () const
 
void ShowCursor ()
 
void MoveLeft (bool select=false)
 
void MoveRight (bool select=false)
 
void MoveUp (bool select=false)
 
void MoveDown (bool select=false)
 
void MoveTop (bool select=false)
 
void MoveBottom (bool select=false)
 
void MovePageUp (bool select=false)
 
void MovePageDown (bool select=false)
 
void MoveLineStart (bool select=false)
 
void MoveLineEnd (bool select=false)
 
void MoveWordLeft (bool select=false)
 
void MoveWordRight (bool select=false)
 
void ScrollLeft ()
 
void ScrollRight ()
 
void ScrollUp ()
 
void ScrollDown ()
 
void ScrollPageUp ()
 
void ScrollPageDown ()
 
void SetSelectionStart (uint x, uint y)
 
void SetSelectionStart (const os::IPoint &p)
 
void SetSelectionEnd (uint x, uint y)
 
void SetSelectionEnd (const os::IPoint &p)
 
void SetSelection (const os::IPoint &p0, const os::IPoint &p1)
 
void SelectAll ()
 
void ClearSelection ()
 
void Copy () const
 
void Cut ()
 
void Paste ()
 
void Del ()
 
void SetEnable (bool b)
 
bool GetEnable ()
 
void SetReadOnly (bool)
 
bool GetReadOnly ()
 
void SetShowLineNumbers (bool bShowLineNumbers)
 
bool GetShowLineNumbers ()
 
size_t GetLength ()
 
void CommitEvents ()
 
void SetEventMask (uint32 nMask)
 
uint32 GetEventMask ()
 
void SetMaxUndoSize (int i)
 
int GetMaxUndoSize ()
 
bool Undo ()
 
bool Redo ()
 
bool UndoAvailable ()
 
bool RedoAvailable ()
 
void ClearUndo ()
 
virtual void Paint (const os::Rect &)
 
virtual void FrameSized (const os::Point &)
 
virtual void Activated (bool)
 
virtual void KeyDown (const char *, const char *, uint32)
 
virtual void FontChanged (os::Font *)
 Adjust font, if it has changed.
 
virtual void MouseDown (const os::Point &, uint32)
 
virtual void MouseUp (const os::Point &, uint32, os::Message *)
 
virtual void MouseMove (const os::Point &, int, uint32, os::Message *)
 
virtual void WheelMoved (const os::Point &)
 
void FoldSection (uint nFirst, uint nLast)
 Look for foldable parts of code within the specified range and fold them.
 
void SetContextMenu (os::Menu *)
 
os::Menu * GetContextMenu ()
 
void SetHighlightColor (os::Color32_s sHigh)
 
os::Color32_s GetHighlightColor ()
 
void SetLineNumberBgColor (os::Color32_s sColor)
 
os::Color32_s GetLineNumberBgColor ()
 
void SetLineNumberFgColor (os::Color32_s sColor)
 
os::Color32_s GetLineNumberFgColor ()
 
void SetLineBackColor (os::Color32_s sColor)
 
os::Color32_s GetLineBackColor ()
 

Friends

class CodeView
 

The documentation for this class was generated from the following files: