\doxysection{elm\+\_\+code\+\_\+text.\+h File Reference}
\hypertarget{elm__code__text_8h}{}\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.  


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

