Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TGTextView.cxx File Reference

Functions

static Bool_t IsTextFile (const char *candidate)
 Returns true if given a text file Uses the specification given on p86 of the Camel book.

Function Documentation

◆ IsTextFile()

Bool_t IsTextFile ( const char * candidate)
static

Returns true if given a text file Uses the specification given on p86 of the Camel book.

  • Text files have no NULLs in the first block
  • and less than 30% of characters with high bit set

Definition at line 1049 of file TGTextView.cxx.