\hypertarget{elm__code__text_8h}{}\doxysection{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.  


\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{elm__code__text_8h_a3d2868aa0435673183d309ab03d5b6e6}\label{elm__code__text_8h_a3d2868aa0435673183d309ab03d5b6e6}} 
\#define {\bfseries ELM\+\_\+\+CODE\+\_\+\+TEXT\+\_\+\+NOT\+\_\+\+FOUND}~-\/1
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
const char $\ast$ {\bfseries elm\+\_\+code\+\_\+line\+\_\+text\+\_\+get} (\mbox{\hyperlink{struct__Elm__Code__Line}{Elm\+\_\+\+Code\+\_\+\+Line}} $\ast$line, unsigned int $\ast$length)
\item 
void {\bfseries elm\+\_\+code\+\_\+line\+\_\+text\+\_\+set} (\mbox{\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} (\mbox{\hyperlink{struct__Elm__Code__Line}{Elm\+\_\+\+Code\+\_\+\+Line}} $\ast$line, const char $\ast$search, int offset)
\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} {\bfseries elm\+\_\+code\+\_\+line\+\_\+text\+\_\+contains} (\mbox{\hyperlink{struct__Elm__Code__Line}{Elm\+\_\+\+Code\+\_\+\+Line}} $\ast$line, const char $\ast$search)
\item 
char $\ast$ {\bfseries elm\+\_\+code\+\_\+line\+\_\+text\+\_\+substr} (\mbox{\hyperlink{struct__Elm__Code__Line}{Elm\+\_\+\+Code\+\_\+\+Line}} $\ast$line, unsigned int position, int length)
\item 
void {\bfseries elm\+\_\+code\+\_\+line\+\_\+text\+\_\+insert} (\mbox{\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} (\mbox{\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} (\mbox{\hyperlink{struct__Elm__Code__Line}{Elm\+\_\+\+Code\+\_\+\+Line}} $\ast$line)
\item 
void {\bfseries elm\+\_\+code\+\_\+line\+\_\+text\+\_\+trailing\+\_\+whitespace\+\_\+strip} (\mbox{\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\+\_\+is\+\_\+whitespace} (const char $\ast$text, unsigned int length)
\end{DoxyCompactItemize}


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

