gCAD3D 2.40
xa_edi__.c File Reference

Neutral EditorFunctions (not Gtk-specific). More...

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_cast.h"
#include "../ut/ut_os.h"
#include "../gui/gui__.h"
#include "../xa/xa_ui.h"
#include "../xa/xa_uid.h"
#include "../xa/xa_mem.h"
#include "../xa/xa_app.h"
#include "../xa/xa.h"

Functions

int ED_sysed__ (int mode)
 
int EDI_set_lnr (long lNr)
 
int EDI_goto_lnr (long lNr)
 
int EDI_CB__ (MemObj *mo, void **data)
 
int ED_goto__ (long curPos)
 
int ED_save_file (char *fNam)
 
int ED_unload__ ()
 
int ED_load__ ()
 

Variables

MemObj winED
 
MemObj winGR
 
int UI_InpMode
 
int UI_EditMode
 
int xa_fl_TxMem
 
char * UTF_FilBuf0
 
long UTF_FilBuf0Siz
 
long UTF_FilBuf0Len
 
int ED_lnr_act
 
int AP_src
 AP_SRC_MEM or AP_SRC_EDI. More...
 
int APT_dispPL
 
int APT_mac_fil
 

Detailed Description

Neutral EditorFunctions (not Gtk-specific).

=====================================================
List_functions_start:
ED_CB__ editor-callback
ED_load__ mem -> editor
ED_unload__ editor -> memory
ED_save_file save editor -> file
EDI_set_lnr set ED_lnr_act, goto Line, display lNr
ED_goto__ goto curPos in editor
EDI_goto_lnr goto Line
ED_sysed__ use system-editor for active line
List_functions_end:
=====================================================
See also APED_ (APED_dec_defLn ..)

Function Documentation

int ED_sysed__ ( int  mode)
* ED_sysed__ use system-editor for active line
* mode 1 edit single line (lnNr <ED_lnr_act>)
*
int EDI_set_lnr ( long  lNr)

EDI_set_lnr set ED_lnr_act, goto Line, display lNr

int EDI_goto_lnr ( long  lNr)

EDI_goto_lnr goto Line, display lNr

int EDI_CB__ ( MemObj mo,
void **  data 
)

ED_CB__ editor-callback of GUI_edi__

int ED_goto__ ( long  curPos)

ED_goto__ goto curPos curPos -1L = goto EOF

int ED_save_file ( char *  fNam)

ED_save_file save editor -> file

int ED_unload__ ( )

ED_unload__ editor -> memory

int ED_load__ ( )

ED_load__ mem -> editor

Variable Documentation

MemObj winED
MemObj winGR
int UI_InpMode
int UI_EditMode
int xa_fl_TxMem
char* UTF_FilBuf0
long UTF_FilBuf0Siz
long UTF_FilBuf0Len
int ED_lnr_act
int AP_src

AP_SRC_MEM or AP_SRC_EDI.

int APT_dispPL
int APT_mac_fil