\hypertarget{elm__code__text_8h}{}\section{elm\+\_\+code\+\_\+text.\+h File Reference}
\label{elm__code__text_8h}\index{elm\+\_\+code\+\_\+text.\+h@{elm\+\_\+code\+\_\+text.\+h}}


These routines are used for interacting with the textual content of files/lines in Elm Code.  


\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\hypertarget{elm__code__text_8h_a3d2868aa0435673183d309ab03d5b6e6}{}\label{elm__code__text_8h_a3d2868aa0435673183d309ab03d5b6e6} 
\#define {\bfseries E\+L\+M\+\_\+\+C\+O\+D\+E\+\_\+\+T\+E\+X\+T\+\_\+\+N\+O\+T\+\_\+\+F\+O\+U\+ND}~-\/1
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
const char $\ast$ {\bfseries elm\+\_\+code\+\_\+line\+\_\+text\+\_\+get} (\hyperlink{struct__Elm__Code__Line}{Elm\+\_\+\+Code\+\_\+\+Line} $\ast$line, unsigned int $\ast$length)
\item 
void {\bfseries elm\+\_\+code\+\_\+line\+\_\+text\+\_\+set} (\hyperlink{struct__Elm__Code__Line}{Elm\+\_\+\+Code\+\_\+\+Line} $\ast$line, const char $\ast$chars, unsigned int length)
\item 
int {\bfseries elm\+\_\+code\+\_\+line\+\_\+text\+\_\+strpos} (\hyperlink{struct__Elm__Code__Line}{Elm\+\_\+\+Code\+\_\+\+Line} $\ast$line, const char $\ast$search, int offset)
\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} {\bfseries elm\+\_\+code\+\_\+line\+\_\+text\+\_\+contains} (\hyperlink{struct__Elm__Code__Line}{Elm\+\_\+\+Code\+\_\+\+Line} $\ast$line, const char $\ast$search)
\item 
char $\ast$ {\bfseries elm\+\_\+code\+\_\+line\+\_\+text\+\_\+substr} (\hyperlink{struct__Elm__Code__Line}{Elm\+\_\+\+Code\+\_\+\+Line} $\ast$line, unsigned int position, int length)
\item 
void {\bfseries elm\+\_\+code\+\_\+line\+\_\+text\+\_\+insert} (\hyperlink{struct__Elm__Code__Line}{Elm\+\_\+\+Code\+\_\+\+Line} $\ast$line, unsigned int position, const char $\ast$string, int length)
\item 
void {\bfseries elm\+\_\+code\+\_\+line\+\_\+text\+\_\+remove} (\hyperlink{struct__Elm__Code__Line}{Elm\+\_\+\+Code\+\_\+\+Line} $\ast$line, unsigned int position, int length)
\item 
void {\bfseries elm\+\_\+code\+\_\+line\+\_\+text\+\_\+leading\+\_\+whitespace\+\_\+strip} (\hyperlink{struct__Elm__Code__Line}{Elm\+\_\+\+Code\+\_\+\+Line} $\ast$line)
\item 
void {\bfseries elm\+\_\+code\+\_\+line\+\_\+text\+\_\+trailing\+\_\+whitespace\+\_\+strip} (\hyperlink{struct__Elm__Code__Line}{Elm\+\_\+\+Code\+\_\+\+Line} $\ast$line)
\item 
int {\bfseries elm\+\_\+code\+\_\+text\+\_\+strnpos} (const char $\ast$text, unsigned int length, const char $\ast$search, int offset)
\item 
int {\bfseries elm\+\_\+code\+\_\+text\+\_\+newlinenpos} (const char $\ast$text, unsigned int length, short $\ast$nllen)
\item 
unsigned int {\bfseries elm\+\_\+code\+\_\+text\+\_\+leading\+\_\+whitespace\+\_\+length} (const char $\ast$text, unsigned int length)
\item 
unsigned int {\bfseries elm\+\_\+code\+\_\+text\+\_\+trailing\+\_\+whitespace\+\_\+length} (const char $\ast$text, unsigned int length)
\item 
unsigned int {\bfseries elm\+\_\+code\+\_\+text\+\_\+is\+\_\+whitespace} (const char $\ast$text, unsigned int length)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
These routines are used for interacting with the textual content of files/lines in Elm Code. 

