Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ht_textfile Class Reference

#include <textfile.h>

Inheritance diagram for ht_textfile:

ht_layer_streamfile ht_streamfile ht_stream ht_layer_textfile ht_ltextfile ht_info_textfile Terminal List of all members.

Public Member Functions

virtual bool convert_ofs2line (FILEOFS o, UINT *line, UINT *pofs)=0
virtual bool convert_line2ofs (UINT line, UINT pofs, FILEOFS *o)=0
virtual void delete_lines (UINT line, UINT count)=0
virtual void delete_chars (UINT line, UINT ofs, UINT count)=0
virtual bool get_char (UINT line, char *ch, UINT pos)=0
virtual bool getline (UINT line, UINT pofs, void *buf, UINT buflen, UINT *retlen, lexer_state *state)=0
virtual UINT getlinelength (UINT line)=0
virtual void insert_lines (UINT before, UINT count, void **line_ends=NULL, int *lineendlens=NULL)=0
virtual void insert_chars (UINT line, UINT ofs, void *chars, UINT len)=0
virtual bool has_line (UINT line)=0
virtual UINT linecount ()=0
virtual void set_layered_assume (ht_streamfile *streamfile, bool changes_applied)=0
virtual void set_lexer (ht_syntax_lexer *lexer)=0

Member Function Documentation

virtual bool ht_textfile::convert_line2ofs UINT  line,
UINT  pofs,
FILEOFS o
[pure virtual]
 

Implemented in ht_layer_textfile, and ht_ltextfile.

Referenced by ht_text_viewer::clipboard_copy_cmd(), delete_text_block(), insert_text_block(), and ht_text_viewer::pos_to_offset().

virtual bool ht_textfile::convert_ofs2line FILEOFS  o,
UINT line,
UINT pofs
[pure virtual]
 

Implemented in ht_layer_textfile, and ht_ltextfile.

Referenced by insert_text_block(), and ht_text_viewer::show_search_result().

virtual void ht_textfile::delete_chars UINT  line,
UINT  ofs,
UINT  count
[pure virtual]
 

Implemented in ht_layer_textfile, and ht_ltextfile.

Referenced by ht_text_editor::delete_chars(), and ht_text_editor::unindent().

virtual void ht_textfile::delete_lines UINT  line,
UINT  count
[pure virtual]
 

Implemented in ht_layer_textfile, and ht_ltextfile.

Referenced by ht_text_editor::delete_lines().

virtual bool ht_textfile::get_char UINT  line,
char *  ch,
UINT  pos
[pure virtual]
 

Implemented in ht_layer_textfile, and ht_ltextfile.

virtual bool ht_textfile::getline UINT  line,
UINT  pofs,
void *  buf,
UINT  buflen,
UINT retlen,
lexer_state state
[pure virtual]
 

Implemented in ht_layer_textfile, and ht_ltextfile.

Referenced by ht_text_editor::concat_lines(), ht_text_viewer::cursor_pput(), ht_text_viewer::draw(), ht_text_viewer::get_line_indent(), ht_text_viewer::get_line_vlength(), ht_text_editor::handlemsg(), ht_text_viewer::handlemsg(), ht_text_viewer::physical_cursorx(), and ht_text_editor::split_line().

virtual UINT ht_textfile::getlinelength UINT  line  )  [pure virtual]
 

Implemented in ht_layer_textfile, and ht_ltextfile.

Referenced by ht_text_editor::concat_lines(), delete_text_block(), ht_text_viewer::get_line_length(), ht_text_editor::handlemsg(), ht_text_viewer::make_pos_physical(), and ht_text_editor::split_line().

virtual bool ht_textfile::has_line UINT  line  )  [pure virtual]
 

Implemented in ht_layer_textfile, and ht_ltextfile.

Referenced by ht_text_editor::concat_lines(), and ht_text_editor::handlemsg().

virtual void ht_textfile::insert_chars UINT  line,
UINT  ofs,
void *  chars,
UINT  len
[pure virtual]
 

Implemented in ht_layer_textfile, and ht_ltextfile.

Referenced by ht_text_editor::indent(), and ht_text_editor::insert_chars().

virtual void ht_textfile::insert_lines UINT  before,
UINT  count,
void **  line_ends = NULL,
int *  lineendlens = NULL
[pure virtual]
 

Implemented in ht_layer_textfile, and ht_ltextfile.

Referenced by ht_text_editor::insert_lines().

virtual UINT ht_textfile::linecount  )  [pure virtual]
 

Implemented in ht_info_textfile, ht_layer_textfile, and ht_ltextfile.

Referenced by ht_text_viewer::cursor_down(), ht_text_viewer::get_vscrollbar_pos(), ht_text_viewer::goto_line(), ht_text_editor::handlemsg(), ht_text_viewer::handlemsg(), ht_text_viewer::render_meta(), and ht_text_viewer::scroll_down().

virtual void ht_textfile::set_layered_assume ht_streamfile streamfile,
bool  changes_applied
[pure virtual]
 

Implemented in ht_layer_textfile, and ht_ltextfile.

Referenced by ht_text_editor::save().

virtual void ht_textfile::set_lexer ht_syntax_lexer lexer  )  [pure virtual]
 

Implemented in ht_layer_textfile, and ht_ltextfile.

Referenced by ht_text_viewer::set_lexer().


The documentation for this class was generated from the following file:
Generated on Fri May 7 21:16:04 2004 by doxygen 1.3.5