format.cc File Reference

#include <limits.h>
#include "AppHdr.h"
#include "colour.h"
#include "format.h"
#include "libutil.h"
#include "showsymb.h"
#include "viewchar.h"

Include dependency graph for format.cc:


Functions

void display_tagged_block (const std::string &s)
void replace_all_in_string (std::string &s, const std::string &search, const std::string &replace)
void cap (int &i, int max)
int count_linebreaks (const formatted_string &fs)
std::string tagged_string_substr (const std::string &s, int start, int end)
int tagged_string_printable_length (const std::string &s)
int tagged_string_tag_length (const std::string &s)

Function Documentation

void cap ( int &  i,
int  max 
) [inline]

int count_linebreaks ( const formatted_string fs  ) 

void display_tagged_block ( const std::string s  ) 

Here is the call graph for this function:

void replace_all_in_string ( std::string s,
const std::string search,
const std::string replace 
)

Here is the call graph for this function:

int tagged_string_printable_length ( const std::string s  ) 

std::string tagged_string_substr ( const std::string s,
int  start,
int  end 
)

int tagged_string_tag_length ( const std::string s  ) 

Here is the call graph for this function:


Generated on Thu Jan 13 13:05:32 2011 by  doxygen 1.5.6