coan 4.2.4
The Line Edit component internals
Collaboration diagram for The Line Edit component internals:

Modules

 Macro-generated code

Files

file  line_edit.c

Defines

#define DELETE_CHARS(start, end)   memset(start,DELETEABLE_CHR,end - start)

Functions

static void tail_edit (char *where, const char *what)

Define Documentation

#define DELETE_CHARS (   start,
  end 
)    memset(start,DELETEABLE_CHR,end - start)

Macro function that marks a character block as logically deleted in the course of simplifying a directive, by setting all chars with a deletion placeholder

Parameters:
startThe start of the text to be deleted.
endJust past the text to be deleted.

Definition at line 56 of file line_edit.c.

Referenced by cut_text().


Function Documentation

static void tail_edit ( char *  where,
const char *  what 
) [static]

Replace text at the end of the line-buffer

Parameters:
whereThe start of the terminal segment of the line-buffer to replace
whatThe start of the null-terminated string to replace the terminal segement at where.

The function does the editing work for keywordedit(). It ensures that there is sufficient capacity in the line-buffer to contain the replacement, extending the buffer if necessary.

Definition at line 71 of file line_edit.c.

References ensure_buf(), LINE_END, and LINE_START.

Referenced by keywordedit().

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines